summaryrefslogtreecommitdiff
path: root/.github/workflows/py3-test.yaml
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2022-11-08 11:40:45 +0100
committerChristoph Berg <christoph.berg@credativ.de>2022-11-08 11:40:45 +0100
commit42b1373eff59af2aebb218ded3d2d55cc96dc630 (patch)
treed6e7e435fa41c65fff7a73dd7dc99bb4a12da5c8 /.github/workflows/py3-test.yaml
parent176c8e29d64892072697c5d30513204773545a9b (diff)
parent6f19923a918f7fb63a444b0c99950fdbe9d2f74c (diff)
Update upstream source from tag 'upstream/20221106+py3'
Update to upstream version '20221106+py3' with Debian dir b54298e303932808cc08745c5f5133ad7b12628e
Diffstat (limited to '.github/workflows/py3-test.yaml')
-rw-r--r--.github/workflows/py3-test.yaml74
1 files changed, 74 insertions, 0 deletions
diff --git a/.github/workflows/py3-test.yaml b/.github/workflows/py3-test.yaml
new file mode 100644
index 0000000..91d5bd3
--- /dev/null
+++ b/.github/workflows/py3-test.yaml
@@ -0,0 +1,74 @@
+name: Tests
+on:
+ pull_request:
+ push:
+jobs:
+ style:
+ name: Style checks
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Run tox
+ uses: ./.github/actions/py3-tox
+ with:
+ tox_target: style
+
+ unit:
+ name: Unit tests
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Run tox
+ uses: ./.github/actions/py3-tox
+ with:
+ tox_target: py3unit
+ - name: Archive results
+ uses: actions/upload-artifact@v3
+ with:
+ name: unit_report
+ path: unit_report.html
+
+ driver:
+ name: Driver tests
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Run tox
+ uses: ./.github/actions/py3-tox
+ with:
+ tox_target: py3driver
+ - name: Archive results
+ uses: actions/upload-artifact@v3
+ with:
+ name: driver_report
+ path: driver_report.html
+
+ driver-py310:
+ name: Driver tests (Python 3.10)
+ runs-on: ubuntu-22.04
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Run tox
+ uses: ./.github/actions/py3-tox
+ with:
+ tox_target: py3driver
+
+ matrix:
+ name: Create support matrix
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Run tox
+ uses: ./.github/actions/py3-tox
+ with:
+ tox_target: makesupported
+ - name: Archive support matrix
+ uses: actions/upload-artifact@v3
+ with:
+ name: support-matrix
+ path: model_support.html