mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
22 lines
514 B
YAML
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
|