Skip to content

reorganize into flows, tasks, and functions #20

reorganize into flows, tasks, and functions

reorganize into flows, tasks, and functions #20

Workflow file for this run

name: Run Tests
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11' # Adjust as needed
- name: Install Poetry
uses: abatilo/actions-poetry@v2
- name: Configure Poetry
run: poetry config virtualenvs.create true
- name: Load cached Poetry dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
poetry-${{ runner.os }}-
- name: Install dependencies
run: poetry install --no-interaction --no-root
- name: Run tests
run: poetry run pytest