Cleanup a bunch of stuff and tidy up the naming. #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests on every commit | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install -r requirements-dev.txt | |
- name: Run pytest | |
run: | | |
pytest ./test --junitxml=./test/results.xml | |
- name: Archive test results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-results | |
path: ./test/results.xml |