Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: 2024 Ledger SAS
#
# SPDX-License-Identifier: Apache-2.0

name: Python Doc

on:
push:
branches:
- main
paths:
- 'doc/**'
- 'tox.ini'
- '.github/workflows/doc.yml'
pull_request:
paths:
- 'doc/**'
- 'tox.ini'
- '.github/workflows/doc.yml'

jobs:
doc:
uses: outpost-os/pipeline-python/.github/workflows/doc.yml@v1
with:
python-version: '3.10'
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: 2024 Ledger SAS
#
# SPDX-License-Identifier: Apache-2.0

name: Python Lint

on:
push:
branches:
- main
paths:
- 'src/**'
- 'tox.ini'
- '.github/workflows/lint.yml'
pull_request:
paths:
- 'src/**'
- 'tox.ini'
- '.github/workflows/lint.yml'

jobs:
lint:
uses: outpost-os/pipeline-python/.github/workflows/lint.yml@v1
with:
python-version: '3.10'
37 changes: 0 additions & 37 deletions .github/workflows/main.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2024 Ledger SAS
#
# SPDX-License-Identifier: Apache-2.0

name: Python Code Quality

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
codeql:
permissions:
security-events: write
packages: read
actions: read
contents: read
uses: outpost-os/pipeline-python/.github/workflows/codeql.yml@v1
31 changes: 31 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# SPDX-FileCopyrightText: 2024 Ledger SAS
#
# SPDX-License-Identifier: Apache-2.0

name: Python Unit Tests

on:
push:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- 'tox.ini'
- '.github/workflows/unittest.yml'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'tox.ini'
- '.github/workflows/unittest.yml'

jobs:
unittest:
strategy:
matrix:
version: ['3.10', '3.11', '3.12']
uses: outpost-os/pipeline-python/.github/workflows/unittest.yml@v1
with:
python-version: ${{ matrix.version }}
secrets: inherit
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ SPDX-License-Identifier: Apache-2.0
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dts-utils)

[![codecov](https://codecov.io/gh/outpost-os/python-dts-utils/graph/badge.svg?token=SGQPBE40UI)](https://codecov.io/gh/outpost-os/python-dts-utils)
![build](https://github.com/outpost-os/python-dts-utils/actions/workflows/main.yml/badge.svg)
![lint](https://github.com/outpost-os/python-dts-utils/actions/workflows/lint.yml/badge.svg)
![unittest](https://github.com/outpost-os/python-dts-utils/actions/workflows/unittest.yml/badge.svg)
![doc](https://github.com/outpost-os/python-dts-utils/actions/workflows/doc.yml/badge.svg)
![quality](https://github.com/outpost-os/python-dts-utils/actions/workflows/quality.yml/badge.svg)

# dts-utils python package
`dts-utils` is an utility python package that aims to ease dts handling in python and source code
Expand Down