mirror of
https://github.com/danieldemus/pyp2spec.git
synced 2026-07-27 21:00:37 +02:00
Run tox on project's CI
This commit is contained in:
@@ -3,18 +3,15 @@ on:
|
||||
push:
|
||||
pull_request:
|
||||
jobs:
|
||||
test:
|
||||
unit_test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run Tox tests
|
||||
id: test
|
||||
uses: fedora-python/tox-github-action@main
|
||||
with:
|
||||
python-version: 3.9
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install -r requirements.txt
|
||||
python -m pip install pytest pytest-regressions betamax
|
||||
- name: Run pytest
|
||||
run: |
|
||||
python -m pytest -vv
|
||||
tox_env: ${{ matrix.tox_env }}
|
||||
strategy:
|
||||
matrix:
|
||||
tox_env: [py39, py310, py311, py312-dev]
|
||||
|
||||
Reference in New Issue
Block a user