Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Feb 7, 2024
1 parent 4c67487 commit 8a416bc
Showing 1 changed file with 33 additions and 27 deletions.
60 changes: 33 additions & 27 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,38 @@ concurrency:
cancel-in-progress: true

jobs:
# https://github.com/bcgov-nr/action-builder-ghcr
builds:
name: Builds
runs-on: ubuntu-22.04
permissions:
packages: write
strategy:
matrix:
package: [migrations, backend, frontend]
timeout-minutes: 10
steps:
- uses: bcgov-nr/[email protected]
with:
keep_versions: 50
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
tag_fallback: latest
triggers: ('${{ matrix.package }}/')
# # https://github.com/bcgov-nr/action-builder-ghcr
# builds:
# name: Builds
# runs-on: ubuntu-22.04
# permissions:
# packages: write
# strategy:
# matrix:
# package: [migrations, backend, frontend]
# timeout-minutes: 10
# steps:
# - uses: bcgov-nr/[email protected]
# with:
# keep_versions: 50
# package: ${{ matrix.package }}
# tag: ${{ github.event.number }}
# tag_fallback: latest
# triggers: ('${{ matrix.package }}/')

# https://github.com/bcgov-nr/action-deployer-openshift
deploys:
name: Deploys
needs: [builds]
uses: ./.github/workflows/.deploy.yml
secrets: inherit
# # https://github.com/bcgov-nr/action-deployer-openshift
# deploys:
# name: Deploys
# needs: [builds]
# uses: ./.github/workflows/.deploy.yml
# secrets: inherit
# with:
# tag: ${{ github.event.number }}
# release: ${{ github.event.number }}
# triggers: ('backend/' 'frontend/' 'migrations/' 'charts/')

tests:
name: Tests
uses: ./.github/workflows/.tests.yml
with:
tag: ${{ github.event.number }}
release: ${{ github.event.number }}
triggers: ('backend/' 'frontend/' 'migrations/' 'charts/')
target: ${{ github.event.number }}

0 comments on commit 8a416bc

Please sign in to comment.