Skip to content

Bump to 20.5

Bump to 20.5 #75

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12-dev", "pypy-3.9"]
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