Skip to content

chore: Add comments

chore: Add comments #4

Workflow file for this run

name: CI for Ch09 using python platform
on: push
defaults:
run:
working-directory: ./Ch09/
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10" ]
poetry-version: [ "1.8.3" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- uses: actions/cache@v3
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install the project dependencies
run: poetry install
- name: Run test
run: poetry run make test