Skip to content

Commit

Permalink
fix: Upload integration tests results if tests fail (#326)
Browse files Browse the repository at this point in the history
Always upload the logs even if the integration tests failed and corrected typos.
  • Loading branch information
jcpitre authored Mar 5, 2024
1 parent 4e25004 commit ab2fa45
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/db-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Deploys the Mobility Database to the DEV environment
# Deploys the Mobility Database to the PROD environment
name: Deploy DB - PROD
on:
workflow_dispatch: # Supports manual deployment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-qa.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Deploys the Mobility Database to the DEV environment
# Deploys the Mobility Database to the QA environment
name: Deploy DB - QA
on:
workflow_dispatch: # Supports manual deployment
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}

- name: Upload Test Logs
if: ${{ always() }} # always upload the available logs even if the integration tests failed.
uses: actions/upload-artifact@v4
with:
name: integration-tests-results
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
needs: bd-deployment
uses: ./.github/workflows/db-update-prod.yml
secrets: inherit
bash-deployment:
name: Bash Processes Deployment
batch-deployment:
name: Batch Processes Deployment
needs: bd-update
uses: ./.github/workflows/datasets-batch-deployer-prod.yml
secrets: inherit
api-deployment:
name: API Deployment
needs: bash-deployment
needs: batch-deployment
uses: ./.github/workflows/api-prod.yml
secrets: inherit
integration-tests:
Expand All @@ -33,6 +33,6 @@ jobs:
REFRESH_TOKEN: ${{ secrets.PROD_API_TEST_REFRESH_TOKEN }}
web-deployment:
name: Web Deployment
needs: bash-deployment
needs: batch-deployment
uses: ./.github/workflows/web-prod.yml
secrets: inherit

0 comments on commit ab2fa45

Please sign in to comment.