diff options
author | Bastian Venthur <venthur@debian.org> | 2022-04-24 15:00:03 +0200 |
---|---|---|
committer | Bastian Venthur <venthur@debian.org> | 2022-04-24 15:00:03 +0200 |
commit | d44d4a384fe9508f865d726b684b4cdbad0d378f (patch) | |
tree | 51591bd95872a4622c930fc4f8ec766bf45ee6e8 /.github/workflows/python-package.yaml |
python-debianbts (3.2.1) unstable; urgency=medium
* Fix "changelog missing in binary package" Removed native CHANGELOG.md from
dh_installdocs, as it prevented the shipping of the Debian changelog.
(Closes: #949210)
* Updated build system
* Added sphinx documentation (readthedocs)
* use pytest-xdist to speed up testing
[dgit import package python-debianbts 3.2.1]
Diffstat (limited to '.github/workflows/python-package.yaml')
-rw-r--r-- | .github/workflows/python-package.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml new file mode 100644 index 0000000..12ba6fd --- /dev/null +++ b/.github/workflows/python-package.yaml @@ -0,0 +1,39 @@ +name: CI/CD Pipeline + +on: + - push + - pull_request + +jobs: + test: + name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + python-version: + - 3.6 + - 3.7 + - 3.8 + - 3.9 + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Run linter + run: | + make lint + + - name: Run tests + run: | + make test |