Skip to content

Commit

Permalink
update step
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 committed Oct 23, 2023
1 parent c3d45db commit c414c45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
key: qbo-api-${{ hashFiles('requirements.txt') }}
restore-keys: |
qbo-api-${{ hashFiles('requirements.txt') }}
- name: Bring up Services and test for token health
- name: Build docker image
run: |
docker-compose -f docker-compose-pipeline.yml build
- name: Bring up Services and test for token health
run: |
docker-compose -f docker-compose-pipeline.yml up -d
docker-compose -f docker-compose-pipeline.yml exec -T api pytest tests/ --cov --cov-report=xml --cov-fail-under=96 --junit-xml=test-reports/report.xml
echo "STATUS=$(cat pytest-coverage.txt | grep 'Required test' | awk '{ print $1 }')" >> $GITHUB_ENV
Expand Down

0 comments on commit c414c45

Please sign in to comment.