Skip to content

Commit aaaf932

Browse files
committed
CI: Split Rust workflow into static checks and tests
This workflow was terribly long. Hopefully this will make it quicker.
1 parent cc47c25 commit aaaf932

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/rust.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ jobs:
2121
timeout-minutes: 60
2222
steps:
2323
- uses: actions/checkout@v3
24-
- name: Setup 3-node Scylla cluster
25-
run: |
26-
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
27-
docker compose -f test/cluster/docker-compose.yml up -d --wait
2824
- name: Update rust toolchain
2925
run: rustup update
3026
- name: Print rustc version
@@ -78,6 +74,19 @@ jobs:
7874
run: cargo build --verbose --all-targets --manifest-path "scylla-cql/Cargo.toml" --features "full-serialization"
7975
- name: Build
8076
run: cargo build --verbose --all-targets --features "full-serialization"
77+
tests:
78+
runs-on: ubuntu-latest
79+
timeout-minutes: 60
80+
steps:
81+
- uses: actions/checkout@v3
82+
- name: Setup 3-node Scylla cluster
83+
run: |
84+
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
85+
docker compose -f test/cluster/docker-compose.yml up -d --wait
86+
- name: Update rust toolchain
87+
run: rustup update
88+
- name: Print rustc version
89+
run: rustc --version
8190
- name: Run tests
8291
run: |
8392
cargo clean

0 commit comments

Comments
 (0)