Skip to content

Change check workflow to more recent Ubuntu version #121

Change check workflow to more recent Ubuntu version

Change check workflow to more recent Ubuntu version #121

Workflow file for this run

name: Package tests
on:
push:
branches:
- master
pull_request:
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11.0"
- uses: actions/cache@v3
with:
path: venv
key: ${{ runner.os }}-${{ hashFiles('requirements-tests.txt') }}
- name: Run the tests
run: |
python -m venv create venv
source venv/bin/activate
python -m pip install . -r requirements-tests.txt
python -m pytest