Skip to content

Toml + Tox Migration #915

Toml + Tox Migration

Toml + Tox Migration #915

Workflow file for this run

name: Python package
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Python Package
strategy:
fail-fast: false
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
steps:
- uses: actions/checkout@v3
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
cache: 'pip'
python-version: ${{ matrix.python-version }}
- name: Install tox-gh
run: pip install tox-gh
- name: Setup test environment
run: tox run --notest
- name: Test with PyTest
run: tox run
- name: Test building package
run: tox run -e build