Skip to content

Sea 178 test actions loading #64

Sea 178 test actions loading

Sea 178 test actions loading #64

Workflow file for this run

name: Tox
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src
- tests
- pyproject.toml
- tox.ini
pull_request:
branches:
- main
paths:
- src
- tests
- pyproject.toml
- tox.ini
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
run-all-tests:
name: Py${{ matrix.py }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
py:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- name: Set up Python ${{ matrix.py }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
- name: Checkout scos-tekrsa
uses: actions/checkout@v3
- name: Install tox-gh
run: python -m pip install tox-gh
- name: Set up test suite
run: tox r -vv --notest
- name: Run test suite
run: tox r --skip-pkg-install
env:
PYTEST_ADDOPTS: "-vv --durations=0"