Skip to content

Commit 875e82e

Browse files
ci/nightly: Track and test dependencies' 'test-next' branch
parsec-tool depends on several repositories under the parallaxsecond organization. Currently, when testing the main branch of parsec-tool, fixed versions of the latest released crates of those repositories are being used. A problem may arise when there is a change introduced in the main/'test-next' branch of those repositories that would break parsec-tool when updating/incorporating that change. This is currently not being tested in our CI. As parsec-tool release is dependent on having published the dependencies' crates, there are issues that will not be caught until the publishing of said crates. * Add a nightly job that uses ci.sh --test-next-branch-tracking to test the test-next release branches of parallaxsecond repositories and spot issues before release. These job makes use of previously defined re-usable actions. Signed-off-by: Tomás González <[email protected]>
1 parent ca80097 commit 875e82e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/nightly.yml

+17
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,20 @@ jobs:
4242
run: cargo install cargo-audit
4343
- name: Execute cargo audit
4444
run: cargo audit
45+
46+
build-next:
47+
name: Execute CI script with next branch
48+
runs-on: ubuntu-latest
49+
steps:
50+
- uses: actions/checkout@v3
51+
with:
52+
ref: "${{ github.event.inputs.rev }}"
53+
- name: Install Rust MSRV
54+
uses: actions-rust-lang/setup-rust-toolchain@v1
55+
with:
56+
toolchain: 1.66.0
57+
rustflags: ""
58+
- name: Execute CI script with next branch
59+
uses: ./.github/actions/ci_script
60+
with:
61+
ci-flags: "--test-next-branch-tracking"

0 commit comments

Comments
 (0)