Update revocation tests cert, expiring 2/28/2024 #30
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: [push, pull_request] | |
jobs: | |
build-windows: | |
name: Python ${{ matrix.python }} on windows-2019 ${{ matrix.arch }} | |
runs-on: windows-2019 | |
strategy: | |
matrix: | |
python: | |
- '2.7' | |
- '3.9' | |
# - 'pypy-3.7-v7.3.5' | |
arch: | |
- 'x86' | |
- 'x64' | |
exclude: | |
- python: 'pypy-3.7-v7.3.5' | |
arch: x86 | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: ${{ matrix.arch }} | |
- name: Install dependencies | |
run: python run.py deps | |
- name: Run test suite | |
run: python run.py ci-driver | |
- name: Run test suite (Windows legacy API) | |
run: python run.py ci-driver winlegacy | |
build-windows-old: | |
name: Python ${{ matrix.python }} on windows-2019 ${{ matrix.arch }} | |
runs-on: windows-2019 | |
strategy: | |
matrix: | |
python: | |
- '2.6' | |
- '3.3' | |
arch: | |
- 'x86' | |
- 'x64' | |
steps: | |
- uses: actions/checkout@master | |
- name: Cache Python | |
id: cache-python | |
uses: actions/cache@v2 | |
with: | |
path: ~/AppData/Local/Python${{ matrix.python }}-${{ matrix.arch }} | |
key: windows-2019-python-${{ matrix.python }}-${{ matrix.arch }} | |
- name: Install Python ${{ matrix.python }} | |
run: python run.py python-install ${{ matrix.python }} ${{ matrix.arch }} | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
- name: Install dependencies | |
run: python run.py deps | |
- name: Run test suite | |
run: python run.py ci-driver | |
- name: Run test suite (Windows legacy API) | |
run: python run.py ci-driver winlegacy | |
build-mac: | |
name: Python ${{ matrix.python }} on macos-10.15 | |
runs-on: macos-10.15 | |
strategy: | |
matrix: | |
python: | |
- '2.7' | |
- '3.9' | |
# - 'pypy-3.7-v7.3.5' | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
- name: Install dependencies | |
run: python run.py deps | |
- name: Run test suite | |
run: python run.py ci-driver | |
- name: Run test suite (Mac cffi) | |
run: python run.py ci-driver cffi | |
- name: Run test suite (Mac OpenSSL) | |
run: python run.py ci-driver openssl | |
if: ${{ matrix.python }} != 'pypy-3.7-v7.3.5' | |
- name: Run test suite (Mac OpenSSL/cffi) | |
run: python run.py ci-driver cffi openssl | |
if: ${{ matrix.python }} != 'pypy-3.7-v7.3.5' | |
build-mac-old: | |
name: Python ${{ matrix.python }} on macos-10.15 | |
runs-on: macos-10.15 | |
strategy: | |
matrix: | |
python: | |
- '2.6' | |
- '3.3' | |
steps: | |
- uses: actions/checkout@master | |
- name: Check pyenv | |
id: check-pyenv | |
uses: actions/cache@v2 | |
with: | |
path: ~/.pyenv | |
key: macos-10.15-${{ matrix.python }}-pyenv | |
- name: Install Python ${{ matrix.python }} | |
run: python run.py pyenv-install ${{ matrix.python }} >> $GITHUB_PATH | |
- name: Install dependencies | |
run: python run.py deps | |
- name: Run test suite | |
run: python run.py ci-driver | |
- name: Run test suite (Mac cffi) | |
run: python run.py ci-driver cffi | |
- name: Run test suite (Mac OpenSSL) | |
run: python run.py ci-driver openssl | |
- name: Run test suite (Mac OpenSSL/cffi) | |
run: python run.py ci-driver cffi openssl | |
build-ubuntu: | |
name: Python ${{ matrix.python }} on ubuntu-18.04 x64 | |
runs-on: ubuntu-18.04 | |
strategy: | |
matrix: | |
python: | |
- '2.7' | |
- '3.6' | |
- '3.9' | |
- 'pypy-3.7-v7.3.5' | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
- name: Install dependencies | |
run: python run.py deps | |
- name: Run test suite | |
run: python run.py ci-driver | |
build-ubuntu-old: | |
name: Python ${{ matrix.python }} on ubuntu-18.04 x64 | |
runs-on: ubuntu-18.04 | |
strategy: | |
matrix: | |
python: | |
- '2.6' | |
- '3.2' | |
- '3.3' | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup deadsnakes/ppa | |
run: sudo apt-add-repository ppa:deadsnakes/ppa | |
- name: Update apt | |
run: sudo apt-get update | |
- name: Install Python ${{matrix.python}} | |
run: sudo apt-get install python${{matrix.python}} | |
- name: Install dependencies | |
run: python${{matrix.python}} run.py deps | |
- name: Run test suite | |
run: python${{matrix.python}} run.py ci-driver |