Added files pylint, integration tests, CI, workflow #1155
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Workflow | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
test: | ||
uses: ./.github/workflows/test_workflow.yml | ||
Check failure on line 13 in .github/workflows/ci.yml GitHub Actions / CI WorkflowInvalid workflow file
|
||
with: | ||
steps_override: | | ||
- name: Create .env file | ||
run: cp .env.dev .env | ||
- name: Start services | ||
run: docker compose -f docker-compose.dev.yaml up -d --build | ||
- name: Run tests | ||
run: | | ||
docker-compose exec backend poetry run pytest web_app/tests | ||
- name: Run tests coverage | ||
run: | | ||
docker-compose exec backend poetry run pytest --cov=web_app/tests --cov-fail-under=90 |