2022-05-09 12:54:16 -07:00
|
|
|
name: CI Docker
|
2022-02-18 14:53:27 -08:00
|
|
|
|
2022-05-25 15:19:40 -07:00
|
|
|
# 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.
|
2022-02-18 14:53:27 -08:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths-ignore:
|
2022-05-04 15:55:02 -07:00
|
|
|
# code and tests
|
2022-02-18 14:53:27 -08:00
|
|
|
- '**/*.rs'
|
2022-05-04 15:55:02 -07:00
|
|
|
# hard-coded checkpoints and proptest regressions
|
2022-02-18 14:53:27 -08:00
|
|
|
- '**/*.txt'
|
2022-05-04 15:55:02 -07:00
|
|
|
# test data snapshots
|
2022-03-02 06:23:05 -08:00
|
|
|
- '**/*.snap'
|
2022-05-04 15:55:02 -07:00
|
|
|
# dependencies
|
2022-02-18 14:53:27 -08:00
|
|
|
- '**/Cargo.toml'
|
|
|
|
- '**/Cargo.lock'
|
2022-05-04 15:55:02 -07:00
|
|
|
# workflow definitions
|
2022-02-18 14:53:27 -08:00
|
|
|
- 'docker/**'
|
2022-05-09 12:54:16 -07:00
|
|
|
- '.github/workflows/continous-integration-docker.yml'
|
|
|
|
- '.github/workflows/deploy-gcp-tests.yml'
|
|
|
|
- '.github/workflows/build-docker-image.yml'
|
2022-05-04 15:55:02 -07:00
|
|
|
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths-ignore:
|
|
|
|
# code and tests
|
|
|
|
- '**/*.rs'
|
|
|
|
# hard-coded checkpoints and proptest regressions
|
|
|
|
- '**/*.txt'
|
|
|
|
# test data snapshots
|
|
|
|
- '**/*.snap'
|
|
|
|
# dependencies
|
|
|
|
- '**/Cargo.toml'
|
|
|
|
- '**/Cargo.lock'
|
|
|
|
# workflow definitions
|
|
|
|
- 'docker/**'
|
2022-05-09 12:54:16 -07:00
|
|
|
- '.github/workflows/continous-integration-docker.yml'
|
|
|
|
- '.github/workflows/deploy-gcp-tests.yml'
|
|
|
|
- '.github/workflows/build-docker-image.yml'
|
2022-02-18 14:53:27 -08:00
|
|
|
|
|
|
|
jobs:
|
2022-05-19 16:07:28 -07:00
|
|
|
get-available-disks:
|
|
|
|
name: Find available cached state disks
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-02-18 14:53:27 -08:00
|
|
|
build:
|
2022-05-23 20:10:53 -07:00
|
|
|
name: Build / Build images
|
2022-02-18 14:53:27 -08:00
|
|
|
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-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"'
|
|
|
|
|
2022-03-27 15:40:53 -07:00
|
|
|
test-lightwalletd-integration:
|
|
|
|
name: Test integration with lightwalletd
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|
|
|
|
|
2022-05-23 20:10:53 -07:00
|
|
|
test-stateful-sync:
|
|
|
|
name: Zebra checkpoint update / Run sync-past-checkpoint 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"'
|
|
|
|
|
|
|
|
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
|
2022-05-04 15:55:02 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: 'echo "No build required"'
|