Add cookie-pass-not-exclude
config
#21
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
# Inspired by: | |
# https://github.com/zopefoundation/meta/tree/master/config/pure-python | |
name: tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
config: | |
# [Python version, tox env] | |
# - ["2.7", "py27"] | |
- ["3.8", "py38"] | |
- ["3.9", "py39"] | |
- ["3.10", "py310"] | |
- ["3.11", "py311"] | |
name: ${{ matrix.config[1] }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.config[0] }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.config[0] }} | |
- name: Pip cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }} | |
restore-keys: | | |
${{ runner.os }}-pip-${{ matrix.config[0] }}- | |
${{ runner.os }}-pip- | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
sudo apt-get install libxml2-dev libxslt-dev python3-docutils libpcre3 libpcre3-dev pkg-config graphviz | |
- name: Test | |
run: tox -e ${{ matrix.config[1] }} |