Skip to content

Commit

Permalink
ci: enable ci to run only when the PR is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor committed Sep 18, 2023
1 parent 7ed93ab commit 3c61f89
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci-iov.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Unit/integration tests
on: [pull_request]
# FIXME:
# pull_request:
# types: [ready_for_review]
on:
pull_request:
types: [ready_for_review]

jobs:
unit-integration-tests:
# FIXME:
# if: github.event.pull_request.draft == false
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -55,9 +53,6 @@ jobs:
ci_run rustc --version
ci_run cargo clippy --version
- name: prover-unit-tests
run: ci_run zk test prover

- name: contracts-unit-tests
run: ci_run zk test contracts

Expand Down Expand Up @@ -127,4 +122,3 @@ jobs:
flags: unit-tests
name: codecov-umbrella # optional
verbose: true # optional (default = false)

0 comments on commit 3c61f89

Please sign in to comment.