merge queue: embarking main (926993a) and #9131 together #1091
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow patches for skipping CI tests on PRs from external repositories | |
name: Run tests | |
# Run on PRs from external repositories, let them pass, and then GitHub's Merge Queue will check them. | |
# GitHub doesn't support filtering workflows by source branch names, so we have to do it for each | |
# job. | |
on: | |
pull_request: | |
#! IMPORTANT | |
#! | |
#! The job names in `sub-ci-unit-tests-docker.yml`, `sub-ci-integration-tests-gcp.yml`, | |
#! `ci-tests.patch.yml` and `ci-tests.patch-external.yml` must be kept in sync. | |
jobs: | |
build: | |
name: Build CI Docker / Build images | |
# Only run on PRs from external repositories. | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
#### | |
## The following jobs are related to sub-ci-unit-tests-docker.yml | |
### | |
test-all: | |
name: Unit tests / Test all | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
test-fake-activation-heights: | |
name: Unit tests / Test with fake activation heights | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
test-empty-sync: | |
name: Unit tests / Test checkpoint sync from empty state | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
test-lightwalletd-integration: | |
name: Unit tests / Test integration with lightwalletd | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
test-configuration-file: | |
name: Unit tests / Test CI default Docker config file / Test default-conf in Docker | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
test-configuration-file-testnet: | |
name: Unit tests / Test CI testnet Docker config file / Test testnet-conf in Docker | |
needs: build | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
test-zebra-conf-path: | |
name: Unit tests / Test CI custom Docker config file / Test custom-conf in Docker | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
#### | |
#### | |
## The following jobs are related to sub-ci-integration-tests-gcp.yml | |
### | |
# We don't patch the testnet job, because testnet isn't required to merge (it's too unstable) | |
get-available-disks: | |
name: Integration tests / Check if cached state disks exist for Mainnet / Get Mainnet cached disk | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
test-stateful-sync: | |
name: Integration tests / Zebra checkpoint update / Run sync-past-checkpoint test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
test-update-sync: | |
name: Integration tests / Zebra tip update / Run update-to-tip test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
checkpoints-mainnet: | |
name: Integration tests / Generate checkpoints mainnet / Run checkpoints-mainnet test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
lightwalletd-rpc-test: | |
name: Integration tests / Zebra tip JSON-RPC / Run fully-synced-rpc test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
lightwalletd-transactions-test: | |
name: Integration tests / lightwalletd tip send / Run lwd-send-transactions test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
get-block-template-test: | |
name: Integration tests / get block template / Run get-block-template test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
submit-block-test: | |
name: Integration tests / submit block / Run submit-block test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
lightwalletd-full-sync: | |
name: Integration tests / lightwalletd tip / Run lwd-full-sync test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
lightwalletd-update-sync: | |
name: Integration tests / lightwalletd tip update / Run lwd-update-sync test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' | |
lightwalletd-grpc-test: | |
name: Integration tests / lightwalletd GRPC tests / Run lwd-grpc-wallet test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }} | |
steps: | |
- run: 'echo "Skipping job on fork"' |