Handle X509_ALGOR being opaque #694
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: CI | |
on: | |
pull_request: {} | |
push: {} | |
jobs: | |
linux: | |
runs-on: ${{ matrix.PYTHON.OS || 'ubuntu-22.04' }} | |
strategy: | |
matrix: | |
PYTHON: | |
# Base builds | |
- {VERSION: "3.7", TOXENV: "py37"} | |
- {VERSION: "3.8", TOXENV: "py38"} | |
- {VERSION: "3.9", TOXENV: "py39"} | |
- {VERSION: "3.10", TOXENV: "py310"} | |
- {VERSION: "3.11", TOXENV: "py311"} | |
- {VERSION: "3.12", TOXENV: "py312"} | |
- {VERSION: "pypy-3.8", TOXENV: "pypy3"} | |
- {VERSION: "pypy-3.9", TOXENV: "pypy3"} | |
- {VERSION: "3.11", TOXENV: "py311-useWheel", OS: "windows-2022" } | |
# -cryptographyMain | |
- {VERSION: "3.7", TOXENV: "py37-cryptographyMain"} | |
- {VERSION: "3.8", TOXENV: "py38-cryptographyMain"} | |
- {VERSION: "3.9", TOXENV: "py39-cryptographyMain"} | |
- {VERSION: "3.10", TOXENV: "py310-cryptographyMain"} | |
- {VERSION: "3.11", TOXENV: "py311-cryptographyMain"} | |
- {VERSION: "3.12", TOXENV: "py312-cryptographyMain"} | |
- {VERSION: "pypy-3.8", TOXENV: "pypy3-cryptographyMain"} | |
- {VERSION: "pypy-3.9", TOXENV: "pypy3-cryptographyMain"} | |
# -cryptographyMinimum | |
- {VERSION: "3.7", TOXENV: "py37-cryptographyMinimum"} | |
- {VERSION: "3.8", TOXENV: "py38-cryptographyMinimum"} | |
- {VERSION: "3.9", TOXENV: "py39-cryptographyMinimum"} | |
- {VERSION: "3.10", TOXENV: "py310-cryptographyMinimum"} | |
- {VERSION: "3.11", TOXENV: "py311-cryptographyMinimum"} | |
- {VERSION: "3.12", TOXENV: "py312-cryptographyMinimum"} | |
- {VERSION: "pypy-3.8", TOXENV: "pypy3-cryptographyMinimum"} | |
# Cryptography wheels | |
- {VERSION: "3.9", TOXENV: "py39-cryptographyMinimum-useWheel"} | |
- {VERSION: "3.9", TOXENV: "py39-useWheel"} | |
# Random order | |
- {VERSION: "3.9", TOXENV: "py39-randomorder"} | |
# Downstreams | |
- {VERSION: "3.11", TOXENV: "py311-twistedTrunk"} | |
# Meta | |
- {VERSION: "3.9", TOXENV: "check-manifest"} | |
- {VERSION: "3.11", TOXENV: "lint"} | |
- {VERSION: "3.11", TOXENV: "py311-mypy"} | |
- {VERSION: "3.9", TOXENV: "docs"} | |
name: "${{ matrix.PYTHON.TOXENV }}${{ matrix.PYTHON.OS && format(' on {0}', matrix.PYTHON.OS) || '' }}" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.PYTHON.VERSION }} | |
- run: python -m pip install tox coverage | |
- run: tox -v | |
env: | |
TOXENV: ${{ matrix.PYTHON.TOXENV }} | |
- name: Upload coverage | |
run: | | |
curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash | |
bash codecov.sh -n "tox -e ${{ matrix.PYTHON.TOXENV }}" | |
linux-docker: | |
runs-on: ubuntu-latest | |
container: ghcr.io/pyca/cryptography-runner-${{ matrix.TEST.CONTAINER }} | |
strategy: | |
matrix: | |
TEST: | |
# cryptographyMain used since there's no wheel | |
- {CONTAINER: "ubuntu-rolling", TOXENV: "py311-cryptographyMain"} | |
name: "${{ matrix.TEST.TOXENV }} on ${{ matrix.TEST.CONTAINER }}" | |
steps: | |
- uses: actions/checkout@v4 | |
- run: /venv/bin/pip install tox | |
- run: /venv/bin/tox -v | |
env: | |
TOXENV: ${{ matrix.TEST.TOXENV }} | |
RUSTUP_HOME: /root/.rustup | |
- name: Upload coverage | |
run: | | |
curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash | |
bash codecov.sh -n "tox -e ${{ matrix.TEST.TOXENV }} on ${{ matrix.TEST.CONTAINER }}" |