Skip to content

Sea 178 test actions loading #141

Sea 178 test actions loading

Sea 178 test actions loading #141

Workflow file for this run

name: Tox
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'scos_actions/**'
- '.github/workflows/**'
- 'pyproject.toml'
- 'tox.ini'
pull_request:
branches:
- master
paths:
- 'scos_actions/**'
- '.github/workflows/**'
- '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-actions
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"