Skip to content

Commit

Permalink
Create local branches for the tests in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Dec 13, 2023
1 parent 3ff2e6d commit cc55867
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create local branches for tests
run: |
for branch in test-root test-module-{a,b,c}; do
git branch --track "$branch" "origin/$branch"
done
- name: Build
run: cargo +stable build --verbose
- name: Run tests
Expand All @@ -19,6 +24,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create local branches for tests
run: |
for branch in test-root test-module-{a,b,c}; do
git branch --track "$branch" "origin/$branch"
done
- name: Build
run: cargo +nightly build --verbose
- name: Run tests
Expand Down

0 comments on commit cc55867

Please sign in to comment.