chore: Fix integration-tests for forks
This commit is contained in:
parent
0012eadef7
commit
2a85c2732b
3 changed files with 23 additions and 8 deletions
15
.github/workflows/build-pr.yml
vendored
15
.github/workflows/build-pr.yml
vendored
|
|
@ -33,8 +33,15 @@ jobs:
|
|||
ref: ${{ github.event.pull_request.ref }}
|
||||
|
||||
- name: Run build
|
||||
run: |
|
||||
earthly --ci +build
|
||||
earthly sat s blue-build-integration-tests
|
||||
earthly --ci -P ./integration-tests+all
|
||||
run: earthly --ci +build
|
||||
|
||||
- name: Switch to integration-tests satellite
|
||||
env:
|
||||
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
|
||||
if: env.EARTHLY_SAT_TOKEN != null
|
||||
run: earthly sat s blue-build-integration-tests
|
||||
|
||||
- name: Run integration tests
|
||||
if: github.repository == 'blue-build/cli'
|
||||
run: earthly --ci -P ./integration-tests+all
|
||||
|
||||
|
|
|
|||
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
|
@ -47,7 +47,14 @@ jobs:
|
|||
|
||||
- name: Run build
|
||||
if: github.repository == 'blue-build/cli'
|
||||
run: |
|
||||
earthly --push --ci +build
|
||||
earthly sat s blue-build-integration-tests
|
||||
earthly --ci -P ./integration-tests+all
|
||||
run: earthly --push --ci +build
|
||||
|
||||
- name: Switch to integration-tests satellite
|
||||
env:
|
||||
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
|
||||
if: env.EARTHLY_SAT_TOKEN != null
|
||||
run: earthly sat s blue-build-integration-tests
|
||||
|
||||
- name: Run integration tests
|
||||
if: github.repository == 'blue-build/cli'
|
||||
run: earthly --ci -P ./integration-tests+all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue