2023-05-03 21:54:52 -07:00

22 lines
514 B
YAML

name: Tests
on: workflow_call
jobs:
python-tests:
name: Python tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python environment
uses: ./.github/actions/setup-liberation-python
- name: run tests
run: |
./venv/scripts/activate
pytest --cov game --cov-branch --cov-report=xml tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3