Skip to content

Commit 35b142d

Browse files
committed
chore: update ci
1 parent 9d7372b commit 35b142d

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/rust_ci.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ jobs:
146146
run: |
147147
git config --global credential.helper store
148148
echo "https://${{ secrets.ADMIN_GITHUB_TOKEN }}:x-oauth-basic@github.com" > ~/.git-credentials
149-
150-
- name: Run rust-lib tests (non-af_cloud)
149+
150+
- name: Run rust-lib cloud tests (serialized)
151151
working-directory: frontend/rust-lib
152152
env:
153153
RUST_LOG: info
@@ -157,9 +157,9 @@ jobs:
157157
af_cloud_test_gotrue_url: http://localhost/gotrue
158158
GH_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
159159
run: |
160-
DISABLE_CI_TEST_LOG="true" cargo test --no-default-features --features="dart" -- --skip af_cloud --skip local_ai_test --test-threads=1
160+
DISABLE_CI_TEST_LOG="true" cargo test -j 1 --workspace --no-default-features --features="dart" af_cloud -- --skip local_ai_test --test-threads=1
161161
162-
- name: Run rust-lib af_cloud tests (serialized)
162+
- name: Run rust-lib tests (non-cloud)
163163
working-directory: frontend/rust-lib
164164
env:
165165
RUST_LOG: info
@@ -169,7 +169,8 @@ jobs:
169169
af_cloud_test_gotrue_url: http://localhost/gotrue
170170
GH_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
171171
run: |
172-
DISABLE_CI_TEST_LOG="true" cargo test -j 1 --no-default-features --features="dart" af_cloud -- --skip local_ai_test --test-threads=1
172+
DISABLE_CI_TEST_LOG="true" cargo test --workspace --no-default-features --features="dart" -- --skip af_cloud --skip local_ai_test --test-threads=1
173+
173174
174175
- name: rustfmt rust-lib
175176
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)