Skip to content

Forecast chain

Forecast chain #77

Workflow file for this run

name: basic CI
on:
pull_request:
branches: main
jobs:
build-and-run-pytest:
runs-on: ubuntu-latest
steps:
# First step (unnamed here) is to checkout to the branch that triggered the event
- uses: actions/checkout@v3
# Second step: run pre-commit hooks
- uses: pre-commit/[email protected]
# Third step: install python 3.10
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
# Fourth step: install poetry
- name: Install Poetry
uses: abatilo/actions-poetry@v2
# Fifth step: install
- name: Install packages
run: poetry install
# Sixth step: run tests with Pytest
- name: Run tests
run: poetry run pytest -v .