Skip to content

Commit 65b097a

Browse files
committed
ci: fix cross testing
I have no idea how CI was passing with this error in the CI configuration. Apparently it is failing the `master` run, but the PRs were not failing. Crazy.
1 parent d0aa586 commit 65b097a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
# continues to work as cross releases in the past have broken things
9696
# in subtle ways.
9797
CROSS_VERSION: v0.2.5
98-
runs-on: ${{ matrix.os }}
98+
runs-on: ubuntu-latest
9999
strategy:
100100
fail-fast: false
101101
matrix:
@@ -124,15 +124,15 @@ jobs:
124124
- name: Basic build
125125
run: cross build --all --verbose --target ${{ matrix.target }}
126126
- name: Run subset of tests
127-
run: ${{ env.CARGO }} test --verbose --test integration --target ${{ matrix.target }}
127+
run: cross test --verbose --test integration --target ${{ matrix.target }}
128128
- name: Run subset of regex-syntax tests
129-
run: ${{ env.CARGO }} test --verbose -p regex-syntax --lib --target ${{ matrix.target }}
129+
run: cross test --verbose -p regex-syntax --lib --target ${{ matrix.target }}
130130
- name: Run subset of regex-automata tests
131-
run: ${{ env.CARGO }} test --verbose -p regex-automata --lib --target ${{ matrix.target }}
131+
run: cross test --verbose -p regex-automata --lib --target ${{ matrix.target }}
132132
- name: Run regex-lite tests
133-
run: ${{ env.CARGO }} test --verbose -p regex-lite --lib --target ${{ matrix.target }}
133+
run: cross test --verbose -p regex-lite --lib --target ${{ matrix.target }}
134134
- name: Run regex-cli tests
135-
run: ${{ env.CARGO }} test --verbose -p regex-cli --lib --target ${{ matrix.target }}
135+
run: cross test --verbose -p regex-cli --lib --target ${{ matrix.target }}
136136

137137
# This job runs a stripped down version of CI to test the MSRV. The specific
138138
# reason for doing this is that the regex crate's dev-dependencies tend to

0 commit comments

Comments
 (0)