Skip to content

Commit

Permalink
chore: restore workflows: committer_ci.yml and papyrus_nightly-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-pino committed Oct 6, 2024
1 parent 3f6ade3 commit beab11a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/committer_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:
tags:
- v[0-9].**
paths:
- ".github/workflows/committer_ci.yml"
- "Cargo.toml"
- "Cargo.lock"
- "crates/committer_cli/**"
- "crates/starknet_api/**"
- "crates/starknet_committer/**"
- "crates/starknet_patricia/**"
- "scripts/dependencies.sh"
- '.github/workflows/committer_ci.yml'
- 'Cargo.toml'
- 'Cargo.lock'
- 'crates/committer_cli/**'
- 'crates/starknet_api/**'
- 'crates/starknet_committer/**'
- 'crates/starknet_patricia/**'
- 'scripts/dependencies.sh'

pull_request:
types:
Expand All @@ -25,14 +25,14 @@ on:
- auto_merge_enabled
- edited
paths:
- ".github/workflows/committer_ci.yml"
- "Cargo.toml"
- "Cargo.lock"
- "crates/committer_cli/**"
- "crates/starknet_api/**"
- "crates/starknet_committer/**"
- "crates/starknet_patricia/**"
- "scripts/dependencies.sh"
- '.github/workflows/committer_ci.yml'
- 'Cargo.toml'
- 'Cargo.lock'
- 'crates/committer_cli/**'
- 'crates/starknet_api/**'
- 'crates/starknet_committer/**'
- 'crates/starknet_patricia/**'
- 'scripts/dependencies.sh'

# On PR events, cancel existing CI runs on this same PR for this workflow.
concurrency:
Expand All @@ -51,7 +51,7 @@ jobs:
uses: "google-github-actions/auth@v2"
with:
credentials_json: ${{ secrets.COMMITER_PRODUCTS_EXT_WRITER_JSON }}
- uses: "google-github-actions/setup-gcloud@v2"
- uses: 'google-github-actions/setup-gcloud@v2'
- run: echo "BENCH_INPUT_FILES_PREFIX=$(cat ./crates/committer_cli/src/tests/flow_test_files_prefix)" >> $GITHUB_ENV
- run: gcloud storage cp -r gs://committer-testing-artifacts/$BENCH_INPUT_FILES_PREFIX/* ./crates/committer_cli/test_inputs
- run: cargo test -p committer_cli --release -- --include-ignored test_regression
Expand All @@ -70,7 +70,7 @@ jobs:
uses: "google-github-actions/auth@v2"
with:
credentials_json: ${{ secrets.COMMITER_PRODUCTS_EXT_WRITER_JSON }}
- uses: "google-github-actions/setup-gcloud@v2"
- uses: 'google-github-actions/setup-gcloud@v2'
- run: echo "OLD_BENCH_INPUT_FILES_PREFIX=$(cat ./crates/committer_cli/src/tests/flow_test_files_prefix)" >> $GITHUB_ENV
- run: gcloud storage cp -r gs://committer-testing-artifacts/$OLD_BENCH_INPUT_FILES_PREFIX/* ./crates/committer_cli/test_inputs

Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
})
gcs-push:
runs-on: ubuntu-22.04
runs-on: starkware-ubuntu-20-04-medium
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/bootstrap
Expand All @@ -143,7 +143,7 @@ jobs:
run: echo "SHORT_HASH=${COMMIT_SHA:0:7}" >> $GITHUB_ENV

- name: Build CLI binary
run: cargo build -p committer_cli -r --bin committer_cli --target-dir CLI_TARGET
run: ./build_native_in_docker.sh cargo build -p committer_cli -r --bin committer_cli --target-dir CLI_TARGET

- id: auth
uses: "google-github-actions/auth@v2"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/papyrus_nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Papyrus-Nightly-Tests
# We run gateway_integration_test at different times, to avoid a nonce race between parallel runs.
on:
schedule:
- cron: "30 22 * * *" # Uses ubuntu runner.
- cron: "30 0 * * *" # Uses macos runner.
workflow_dispatch: # Uses ubuntu runner.
- cron: '30 22 * * *' # Uses ubuntu runner.
- cron: '30 0 * * *' # Uses macos runner.
workflow_dispatch: # Uses ubuntu runner.

jobs:
GW-integration-test-ubuntu:
Expand Down

0 comments on commit beab11a

Please sign in to comment.