chore: Fix running e2e on merge to master (#656)

* Run e2e on merge to master

* Fix

* Speedup
This commit is contained in:
Anatolios Laskaris 2023-08-04 14:51:42 +03:00 committed by GitHub
parent f58eca2146
commit 2beac37c73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View File

@ -42,14 +42,18 @@ jobs:
air-beautify-wasm:
name: "aquavm"
if: github.event.pull_request.head.repo.fork != true && contains(github.event.pull_request.labels.*.name, 'e2e')
if: >
github.event_name == 'push' ||
(
contains(github.event.pull_request.labels.*.name, 'e2e') &&
!github.event.pull_request.head.repo.fork
)
uses: ./.github/workflows/snapshot-air-beautify-wasm.yml
with:
ref: ${{ github.ref }}
avm:
name: "aquavm"
if: github.event.pull_request.head.repo.fork != true && contains(github.event.pull_request.labels.*.name, 'e2e')
needs: air-interpreter-wasm
uses: ./.github/workflows/snapshot-avm.yml
with:
@ -57,7 +61,6 @@ jobs:
cargo:
name: "aquavm"
if: github.event.pull_request.head.repo.fork != true && contains(github.event.pull_request.labels.*.name, 'e2e')
needs: air-interpreter-wasm
uses: ./.github/workflows/snapshot-cargo.yml
with:

View File

@ -15,7 +15,7 @@ on:
jobs:
wasm:
name: "Build air-interpreter-wasm"
runs-on: ubuntu-latest
runs-on: builder
timeout-minutes: 60
env:

View File

@ -19,7 +19,7 @@ on:
jobs:
snapshots:
name: "Publish crates"
runs-on: builder
runs-on: ubuntu-latest
timeout-minutes: 60
env: