Skip to content

Fixes for local running #71

Fixes for local running

Fixes for local running #71

Workflow file for this run

name: Continuous integration testing
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Continuous integration tests
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Poetry
uses: abatilo/actions-poetry@v2
- name: Setup a local virtual environment (if no poetry.toml file)
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name: Cache Python dependencies
uses: actions/cache@v3
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install the project dependencies
run: poetry install
- name: Run the automated tests
run: make test