Skip to content

Play pytest unit tests #119

Play pytest unit tests

Play pytest unit tests #119

Workflow file for this run

name: Pytest unit tests
run-name: Play pytest unit tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
execute-pytest:
runs-on: ubuntu-latest
env:
# this one is hardcoded: (in run.sh in local dev mode)
PYTHONPATH: ./src
MODE: test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10.9'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements-dev.txt
- run: pytest