Update to 0.1.1 #348
Workflow file for this run
This file contains 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: Unit tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test-ubuntu-macos: | |
strategy: | |
matrix: | |
platform: | |
- macos-latest | |
- ubuntu-latest | |
python: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
persist-credentials: false | |
- name: Install the latest version of uv and set the python version | |
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4.2.0 | |
with: | |
enable-cache: true | |
cache-dependency-glob: pyproject.toml | |
python-version: ${{ matrix.python }} | |
- name: test | |
run: make test INSTALL_EXTRA=test | |
test-windows: | |
strategy: | |
matrix: | |
windows: | |
- 'win64' | |
python: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
persist-credentials: false | |
- name: Install the latest version of uv and set the python version | |
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4.2.0 | |
with: | |
enable-cache: true | |
cache-dependency-glob: pyproject.toml | |
python-version: ${{ matrix.python }} | |
- uses: dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7 | |
with: | |
repo: pyca/infra | |
workflow: build-windows-openssl.yml | |
branch: main | |
workflow_conclusion: success | |
name: "openssl-${{ matrix.windows }}" | |
path: "C:/openssl-${{ matrix.windows }}/" | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Configure | |
shell: bash | |
run: | | |
echo "OPENSSL_DIR=C:/openssl-${{ matrix.windows }}" >> $GITHUB_ENV | |
echo "OPENSSL_NO_VENDOR=1" >> $GITHUB_ENV | |
- name: test | |
run: | | |
make test INSTALL_EXTRA=test | |
shell: bash | |
all-tests-pass: | |
if: always() | |
needs: [test-ubuntu-macos, test-windows] | |
runs-on: ubuntu-latest | |
steps: | |
- name: check test jobs | |
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 | |
with: | |
jobs: ${{ toJSON(needs) }} |