Skip to content

added full requirements, updated python version for tests #5

added full requirements, updated python version for tests

added full requirements, updated python version for tests #5

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.12.3]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Create and activate virtual environment
run: |
python -m venv venv
source venv/bin/activate
- name: Install dependencies
run: |
source venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.dev.txt
pip install -r requirements.test.txt
- name: Run pytest
run: |
source venv/bin/activate
pytest