Skip to content

Commit

Permalink
use tox as test-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
mozman committed Apr 5, 2020
1 parent 579dd76 commit 0ae7321
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Package Testing
name: Package Testing with Tox

on:
push:
Expand All @@ -23,11 +23,7 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pip install pytest
pytest
- name: Install Tox and any other packages
run: pip install tox
- name: Run Tox
run: tox -e py # Run tox using the version of Python in `PATH`

0 comments on commit 0ae7321

Please sign in to comment.