Skip to content

Commit

Permalink
Adjustment main
Browse files Browse the repository at this point in the history
  • Loading branch information
BbolroC committed Jan 22, 2025
1 parent fc492f9 commit 33f0241
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 30 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ccruntime-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: ccruntime e2e test for PR
on:
pull_request_target:
push:
branches:
- 'main'
types:
- opened
- synchronize
- reopened
- labeled
- 'hchoi-install-debug'
#pull_request_target:
# branches:
# - 'main'
# types:
# - opened
# - synchronize
# - reopened
# - labeled

jobs:
e2e-pr:
if: ${{ contains(github.event.pull_request.labels.*.name, 'ok-to-test') }}
uses: ./.github/workflows/ccruntime_e2e.yaml
with:
target-branch: ${{ github.event.pull_request.base.ref }}
commit-hash: ${{ github.event.pull_request.head.sha }}
target-branch: main
commit-hash: ${{ github.sha }}
21 changes: 1 addition & 20 deletions .github/workflows/ccruntime_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,7 @@ jobs:
runtimeclass:
- "kata-qemu"
instance:
- "ubuntu-20.04"
- "ubuntu-22.04"
- "s390x-large"
- "tdx"
- "sev"
- "sev-snp"
exclude:
- runtimeclass: "kata-qemu"
instance: "tdx"
- runtimeclass: "kata-qemu"
instance: "sev"
- runtimeclass: "kata-qemu"
instance: "sev-snp"
include:
- runtimeclass: "kata-qemu-tdx"
instance: "tdx"
- runtimeclass: "kata-qemu-sev"
instance: "sev"
- runtimeclass: "kata-qemu-snp"
instance: "sev-snp"
- "s390x-test"
runs-on: ${{ matrix.instance }}
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
Expand Down

0 comments on commit 33f0241

Please sign in to comment.