Skip to content

Commit

Permalink
fix: concurrency groups
Browse files Browse the repository at this point in the history
  • Loading branch information
orriin committed May 17, 2024
1 parent 9c77315 commit 14b1682
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check Rust

concurrency:
group: ci-${{ github.ref }}
group: check-rust-${{ github.ref }}
cancel-in-progress: true

on:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/e2e-bittensor-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: E2E Bittensor Tests

concurrency:
group: ci-${{ github.ref }}
group: e2e-bittensor-${{ github.ref }}
cancel-in-progress: true

on:
Expand Down Expand Up @@ -55,7 +55,9 @@ jobs:
uses: actions/checkout@v2

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential
run: |
sudo apt-get update &&
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
- name: Install Rust ${{ matrix.rust-branch }}
uses: actions-rs/toolchain@v1.0.6
Expand All @@ -70,8 +72,9 @@ jobs:
- name: Setup bittensor repo
working-directory: ${{ github.workspace }}/bittensor
run: |
git checkout staging
git checkout tests/e2e-tests-staging
python3 -m pip install -e .
python3 -m pip install torch
- name: Run tests
working-directory: ${{ github.workspace }}/bittensor
Expand Down

0 comments on commit 14b1682

Please sign in to comment.