Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Jul 22, 2024
1 parent 524a968 commit 77e9eb9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,14 @@ jobs:
- make-target: "start-e2e-test"
runs-on: ubuntu-20.04
run: ${{ needs.matrix-conditionals.outputs.DEFAULT_TESTS == 'true' }}
fail: false
- make-target: "start-upgrade-test"
runs-on: ubuntu-20.04
run: ${{ needs.matrix-conditionals.outputs.UPGRADE_TESTS == 'true' }}
- make-target: "start-upgrade-test-light"
runs-on: ubuntu-20.04
run: ${{ needs.matrix-conditionals.outputs.UPGRADE_LIGHT_TESTS == 'true' }}
fail: true
- make-target: "start-upgrade-import-mainnet-test"
runs-on: buildjet-16vcpu-ubuntu-2204
run: ${{ needs.matrix-conditionals.outputs.UPGRADE_IMPORT_MAINNET_TESTS == 'true' }}
Expand All @@ -166,6 +168,7 @@ jobs:
make-target: ${{ matrix.make-target }}
runs-on: ${{ matrix.runs-on}}
run: ${{ matrix.run }}
fail: ${{ matrix.fail}}
secrets: inherit
# this allows you to set a required status check
e2e-ok:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reusable-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
required: true
type: string
default: 'ubuntu-20.04'
fail:
description: 'Whether to fail the job immediately for debugging'
required: false
type: boolean

jobs:
e2e:
Expand All @@ -28,6 +32,8 @@ jobs:
strategy:
fail-fast: false
steps:
- if: ${{ inputs.fail }}
run: exit 1
- uses: actions/checkout@v4

# configure docker to use the containerd snapshotter
Expand Down

0 comments on commit 77e9eb9

Please sign in to comment.