mirror of
https://github.com/fluencelabs/aquavm
synced 2025-04-25 07:12: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:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "!**.md"
|
- "**.md"
|
||||||
|
- ".github/**"
|
||||||
|
- "!.github/workflows/ci.yml"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "master"
|
- "master"
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- ".github/**"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "${{ github.workflow }}-${{ github.ref }}"
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||||
|
11
.github/workflows/e2e.yml
vendored
11
.github/workflows/e2e.yml
vendored
@ -1,12 +1,19 @@
|
|||||||
name: "e2e"
|
name: "e2e"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "!**.md"
|
- "**.md"
|
||||||
|
- ".github/**"
|
||||||
|
- "!.github/workflows/e2e.yml"
|
||||||
|
- "!.github/workflows/snapshot.yml"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "master"
|
- "master"
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- ".github/**"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "${{ github.workflow }}-${{ github.ref }}"
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||||
@ -14,6 +21,8 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
aquavm:
|
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
|
uses: ./.github/workflows/snapshot.yml
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user