Skip to content

Modeling Exercises: Refactor Feedback Reference (#354) #301

Modeling Exercises: Refactor Feedback Reference (#354)

Modeling Exercises: Refactor Feedback Reference (#354) #301

Workflow file for this run

name: Tests
on:
push:
branches:
- develop
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Cache Poetry dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry install
poetry run install_all
- name: Run tests
run: poetry run test_all