Skip to content

Updated the tests to run by python not poetry run python #10

Updated the tests to run by python not poetry run python

Updated the tests to run by python not poetry run python #10

Workflow file for this run

name: Build with Docker Compose
on:
push:
branches:
- main
- git_CI/CD
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker Compose services
run: docker compose -f docker/docker-compose.yml build --progress=plain
- name: Run Django tests
run: docker compose -f docker/docker-compose.yml run --rm backend poetry run python src/manage.py test
- name: Run Web tests
run: docker compose -f docker/docker-compose.yml run --rm web npm run test
- name: Run Console test
run: docker compose -f docker/docker-compose.yml run --rm console python test.py