Skip to content

Commit

Permalink
fix: revert test coverage on CD
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde committed Oct 17, 2023
1 parent a0d259e commit 100f95e
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
45 changes: 45 additions & 0 deletions .github/workflows/cd-deploy-nodes-gcp.patch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy Nodes to GCP

on:
pull_request:
paths-ignore:
# code and tests
- '**/*.rs'
# hard-coded checkpoints and proptest regressions
- '**/*.txt'
# dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# configuration files
- '.cargo/config.toml'
- '**/clippy.toml'
# workflow definitions
- 'docker/**'
- '.dockerignore'
- '.github/workflows/cd-deploy-nodes-gcp.yml'
- '.github/workflows/sub-build-docker-image.yml'

jobs:
build:
name: Build CD Docker / Build images
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'

test-configuration-file:
name: Test CD default Docker config file
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'

test-configuration-file-testnet:
name: Test CD testnet Docker config file
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'

test-zebra-conf-path:
name: Test CD custom Docker config file
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'
20 changes: 19 additions & 1 deletion .github/workflows/cd-deploy-nodes-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@ on:
type: boolean
default: false

pull_request:
paths:
# code and tests
- '**/*.rs'
# hard-coded checkpoints and proptest regressions
- '**/*.txt'
# dependencies
- '**/Cargo.toml'
- '**/Cargo.lock'
# configuration files
- '.cargo/config.toml'
- '**/clippy.toml'
# workflow definitions
- 'docker/**'
- '.dockerignore'
- '.github/workflows/cd-deploy-nodes-gcp.yml'
- '.github/workflows/sub-build-docker-image.yml'

# TODO: Temporarily disabled to reduce network load, see #6894.
#push:
# branches:
Expand All @@ -47,7 +65,7 @@ on:
# # workflow definitions
# - 'docker/**'
# - '.dockerignore'
# - '.github/workflows/continous-delivery.yml'
# - '.github/workflows/cd-deploy-nodes-gcp.yml'
# - '.github/workflows/sub-build-docker-image.yml'

release:
Expand Down

0 comments on commit 100f95e

Please sign in to comment.