Skip to content

cancel changes

cancel changes #317

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: true
matrix:
python-version: ["3.9", "3.11"]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install test dependencies
run: python -m pip install -U tox
- name: Load cached tox
uses: actions/cache@v2
with:
path: .tox
key: tox-${{ matrix.platform }}-${{ matrix.python-version }}
- name: Install test dependencies
run: python -m pip install -U tox
- name: Test
run: python -m tox -e py