Skip to content

Commit

Permalink
Default test workflow to TEST environment
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Feb 8, 2024
1 parent 8a416bc commit 72d93e6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name: .Tests
on:
workflow_call:
inputs:
### Required
### Typical / recommended
target:
description: PR number, test or prod
required: true
type: string
default: test

env:
DOMAIN: apps.silver.devops.gov.bc.ca
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:
name: Tests
needs: [deploy-test, vars]
uses: ./.github/workflows/.tests.yml
with:
target: test

deploy-prod:
name: Deploy (prod)
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
# triggers: ('backend/' 'frontend/' 'migrations/' 'charts/')

tests:
name: Tests
uses: ./.github/workflows/.tests.yml
with:
target: ${{ github.event.number }}
4 changes: 4 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:
cancel-in-progress: true

jobs:
tests:
name: Tests
uses: ./.github/workflows/.tests.yml

zap_scan:
runs-on: ubuntu-latest
name: Penetration Tests
Expand Down

0 comments on commit 72d93e6

Please sign in to comment.