Update tested implementation list #79
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: | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13-dev", "pypy-3.9", "pypy-3.10"] | |
variant: ["", "-norequests-noresponses", "-noresponses"] | |
gpg: ["no-gpg", "vanilla-gpg"] | |
fail-fast: false | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Uninstall GnuPG | |
if: ${{ matrix.gpg == 'no-gpg' }} | |
run: sudo apt remove gpg | |
- name: Install vanilla GnuPG | |
if: ${{ matrix.gpg == 'vanilla-gpg' }} | |
run: | | |
sudo apt install libassuan-dev libksba-dev libnpth-dev | |
wget -q -O - https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.39.tar.bz2 | tar -xj | |
cd gnupg-*/ | |
./configure | |
make -j2 | |
sudo make install | |
- name: Install tox | |
run: pip install tox | |
- name: Test using tox | |
run: tox -e py${{ matrix.variant }} | |
qa: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install tox | |
run: pip install tox | |
- name: Test using tox | |
run: tox -e qa |