Merge pull request #97 from russhousley/add-rfc9632 #40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| release: | |
| types: | |
| - published | |
| jobs: | |
| build_wheel: | |
| name: Build pure-Python wheel and source distribution | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Build wheel | |
| run: pipx run build | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| path: dist/* | |
| test_wheel: | |
| needs: [build_wheel] | |
| name: Test pure-Python wheel | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact | |
| path: dist | |
| - name: Test wheel | |
| run: | | |
| export WHEELFILE=`ls -1 dist/*.whl | head -n 1` | |
| python -m venv pyasn1-alt-modules-testbed | |
| source pyasn1-alt-modules-testbed/bin/activate | |
| pip install "$WHEELFILE" | |
| python -m unittest discover -s tests |