feat: add test framework, unit tests, and GitLab CI pipeline #1
@@ -22,13 +22,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
python -m pytest tests/ --cov=app --cov-report=term-missing --cov-report=xml --cov-fail-under=10
|
python -m pytest tests/ --cov=app --cov-report=term-missing --cov-report=xml --cov-fail-under=10
|
||||||
- name: Upload coverage report
|
|
||||||
if: always()
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: coverage-report
|
|
||||||
path: backend/coverage.xml
|
|
||||||
|
|
||||||
frontend-test:
|
frontend-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user