143 lines
3.8 KiB
YAML
143 lines
3.8 KiB
YAML
name: CI Docker
|
|
|
|
# These jobs *don't* depend on cached Google Cloud state disks,
|
|
# so they can be skipped when the modified files make the actual workflow run.
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
# code and tests
|
|
- '**/*.rs'
|
|
# hard-coded checkpoints and proptest regressions
|
|
- '**/*.txt'
|
|
# test data snapshots
|
|
- '**/*.snap'
|
|
# dependencies
|
|
- '**/Cargo.toml'
|
|
- '**/Cargo.lock'
|
|
# configuration files
|
|
- '.cargo/config.toml'
|
|
- '**/clippy.toml'
|
|
# workflow definitions
|
|
- 'docker/**'
|
|
- '.dockerignore'
|
|
- '.github/workflows/continous-integration-docker.yml'
|
|
- '.github/workflows/deploy-gcp-tests.yml'
|
|
- '.github/workflows/find-cached-disks.yml'
|
|
- '.github/workflows/build-docker-image.yml'
|
|
|
|
jobs:
|
|
# We don't patch the testnet job, because testnet isn't required to merge (it's too unstable)
|
|
get-available-disks:
|
|
name: Check if cached state disks exist for Mainnet / Check if cached state disks exist
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
build:
|
|
name: Build CI Docker / Build images
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-all:
|
|
name: Test all
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-all-getblocktemplate-rpcs:
|
|
name: Test all with getblocktemplate-rpcs feature
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-fake-activation-heights:
|
|
name: Test with fake activation heights
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-empty-sync:
|
|
name: Test checkpoint sync from empty state
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-lightwalletd-integration:
|
|
name: Test integration with lightwalletd
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-configuration-file:
|
|
name: Test Zebra default Docker config file
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-zebra-conf-path:
|
|
name: Test Zebra custom Docker config file
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-stateful-sync:
|
|
name: Zebra checkpoint update / Run sync-past-checkpoint test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
test-update-sync:
|
|
name: Zebra tip update / Run update-to-tip test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
generate-checkpoints-mainnet:
|
|
name: Generate checkpoints mainnet / Run generate-checkpoints-mainnet test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
lightwalletd-rpc-test:
|
|
name: Zebra tip JSON-RPC / Run fully-synced-rpc test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
lightwalletd-transactions-test:
|
|
name: lightwalletd tip send / Run lwd-send-transactions test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
get-block-template-test:
|
|
name: get block template / Run get-block-template test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
submit-block-test:
|
|
name: submit block / Run submit-block test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
lightwalletd-full-sync:
|
|
name: lightwalletd tip / Run lwd-full-sync test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
lightwalletd-update-sync:
|
|
name: lightwalletd tip update / Run lwd-update-sync test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
lightwalletd-grpc-test:
|
|
name: lightwalletd GRPC tests / Run lwd-grpc-wallet test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|