mirror of
https://github.com/fluencelabs/aquavm
synced 2024-12-04 15:20:16 +00:00
chore(e2e): Make e2e run on forks (#555)
* Use e2e env * Snapshot env * Update * Test * Update * Test * Add comments * Make linter happy
This commit is contained in:
parent
8bcad8e3af
commit
593083b966
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -3,10 +3,15 @@ name: "Run tests"
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "!**.md"
|
||||
- "**.md"
|
||||
- ".github/**"
|
||||
- "!.github/workflows/ci.yml"
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- ".github/**"
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||
|
11
.github/workflows/e2e.yml
vendored
11
.github/workflows/e2e.yml
vendored
@ -1,12 +1,19 @@
|
||||
name: "e2e"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "!**.md"
|
||||
- "**.md"
|
||||
- ".github/**"
|
||||
- "!.github/workflows/e2e.yml"
|
||||
- "!.github/workflows/snapshot.yml"
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- ".github/**"
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||
@ -14,6 +21,8 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
aquavm:
|
||||
# trigger when PRs is not from fork or when workflow triggered manually
|
||||
if: github.event.pull_request.head.repo.fork == false || github.event_name == 'workflow_dispatch'
|
||||
uses: ./.github/workflows/snapshot.yml
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
|
Loading…
Reference in New Issue
Block a user