Skip to content

Debuging workflows (#2) #4

Debuging workflows (#2)

Debuging workflows (#2) #4

Workflow file for this run

name: DAL test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
dal_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Move to the ./Project/backend directory
run: cd ./Project/backend && ls
- name: Install python dependencies
run: |
ls
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.in-project true --local &&
poetry install --only main
- name: Move to ./Project/backend/dal directory
run: cd ./Project/backend/dal && ls
- name: Run pytest
run: poetry run pytest