-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04bd498
commit cf699d8
Showing
1 changed file
with
1 addition
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,9 @@ jobs: | |
environment: CI Environment | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: docker-compose -f docker-compose-pipeline.yml pull | ||
- uses: satackey/[email protected] | ||
continue-on-error: true | ||
with: | ||
key: qbo-api-${{ hashFiles('requirements.txt') }} | ||
restore-keys: | | ||
qbo-api-${{ hashFiles('requirements.txt') }} | ||
- 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 build | ||
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 | ||
|