Skip to content

Merge pull request #4 from CarlKho-Minerva/Tests #9

Merge pull request #4 from CarlKho-Minerva/Tests

Merge pull request #4 from CarlKho-Minerva/Tests #9

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-flask
- name: Run tests
run: |
pytest
- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
with:
name: test-results
path: .pytest_cache/