Skip to content

[DOCS][REFACTO]

[DOCS][REFACTO] #39

Workflow file for this run

name: Demarche Simpy Tests
on:
push:
branches:
- master
paths:
- 'tests/**'
- 'src/demarches_simpy/**'
jobs:
tst:
runs-on: ubuntu-latest
environment: test-env
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r "tests/requirements.txt"
- name: Test with pytest
env:
API_DS_KEY: ${{vars.API_DS_KEY}}
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
run: |
pip install pytest
python -m pytest -s
coverage run --source=src -m pytest tests/
coveralls