Skip to content

Commit

Permalink
Merge pull request #136 from fuzzypixelz/reduce-status-checks
Browse files Browse the repository at this point in the history
Reduce status checks & remove lockfile/toolchain sync
  • Loading branch information
kydos authored Jan 12, 2024
2 parents 48a775b + 0b52c03 commit 0bda095
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,17 @@ jobs:

- name: Run pytest
run: pytest -n auto --import-mode=append

# NOTE: In GitHub repository settings, the "Require status checks to pass
# before merging" branch protection rule ensures that commits are only merged
# from branches where specific status checks have passed. These checks are
# specified manually as a list of workflow job names. Thus we use this extra
# job to signal whether all CI checks have passed.
ci:
name: CI status checks
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- name: Check whether all jobs pass
run: echo '${{ toJson(needs) }}' | jq -e 'all(.result == "success")'
14 changes: 0 additions & 14 deletions .github/workflows/sync-lockfile-and-toolchain.yml

This file was deleted.

8 changes: 3 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ pyo3 = { version = "0.18.1", features = ["extension-module", "abi3-py37"] }
serde_json = "1.0.94"
uhlc = "0.6.0"
validated_struct = "2.1.0"
zenoh = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master", features = [
"unstable",
], default-features = false }
zenoh-buffers = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master" }
zenoh-core = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master" }
zenoh = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master", features = ["unstable"], default-features = false }
zenoh-buffers = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master" }
zenoh-core = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master" }

0 comments on commit 0bda095

Please sign in to comment.