Skip to content

add dev group for poetry installation for tests #75

add dev group for poetry installation for tests

add dev group for poetry installation for tests #75

Workflow file for this run

name: Run tests
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
name: Python ${{ matrix.python-version }} sample
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install_dependencies
run: |
pip install poetry pytest
poetry lock
poetry export --without-hashes --format=requirements.txt -o requirements.txt --with dev
pip install .
- name: Run tests
run: |
pytest tests