chore: Require integration tests to depend on prebuild
This commit is contained in:
parent
8fc34f346f
commit
3a4782408d
1 changed files with 38 additions and 36 deletions
74
.github/workflows/build-pr.yml
vendored
74
.github/workflows/build-pr.yml
vendored
|
|
@ -13,42 +13,6 @@ env:
|
||||||
RUST_LOG_STYLE: always
|
RUST_LOG_STYLE: always
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
|
||||||
timeout-minutes: 10
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: earthly/actions-setup@v1
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
ref: ${{github.event.pull_request.head.ref}}
|
|
||||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
|
||||||
|
|
||||||
- name: Run test
|
|
||||||
id: build
|
|
||||||
run: |
|
|
||||||
earthly --ci +test
|
|
||||||
|
|
||||||
lint:
|
|
||||||
timeout-minutes: 10
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: earthly/actions-setup@v1
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
ref: ${{github.event.pull_request.head.ref}}
|
|
||||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
|
||||||
|
|
||||||
- name: Run lint
|
|
||||||
id: build
|
|
||||||
run: |
|
|
||||||
earthly --ci +lint
|
|
||||||
|
|
||||||
arm64-prebuild:
|
arm64-prebuild:
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -182,6 +146,8 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
needs:
|
||||||
|
- amd64-prebuild
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -202,6 +168,42 @@ jobs:
|
||||||
earthly bootstrap
|
earthly bootstrap
|
||||||
earthly --ci -P ./integration-tests+all
|
earthly --ci -P ./integration-tests+all
|
||||||
|
|
||||||
|
test:
|
||||||
|
timeout-minutes: 10
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: earthly/actions-setup@v1
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
|
|
||||||
|
- name: Run test
|
||||||
|
id: build
|
||||||
|
run: |
|
||||||
|
earthly --ci +test
|
||||||
|
|
||||||
|
lint:
|
||||||
|
timeout-minutes: 10
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: earthly/actions-setup@v1
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
|
|
||||||
|
- name: Run lint
|
||||||
|
id: build
|
||||||
|
run: |
|
||||||
|
earthly --ci +lint
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue