diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 89f021e..81ff447 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -58,11 +58,39 @@ jobs: name: coverage-artifact-prerelease-${{ matrix.python }} path: .coverage-prerelease-${{ matrix.python }} + compliance: + runs-on: ubuntu-latest + strategy: + matrix: + python: ['3.12'] + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + - name: Install nox + run: | + python -m pip install --upgrade setuptools pip wheel + python -m pip install nox + - name: Run compliance tests + env: + COVERAGE_FILE: .coverage-${{ matrix.python }} + run: | + nox -s compliance-${{ matrix.python }} + - name: Upload coverage results + uses: actions/upload-artifact@v4 + with: + name: coverage-artifact-compliance-${{ matrix.python }} + path: .coverage-compliance-${{ matrix.python }} + cover: runs-on: ubuntu-latest needs: - unit - unit-prerelease + - compliance steps: - name: Checkout uses: actions/checkout@v4