Skip to content

Commit f0f212e

Browse files
matthiasbeyerszarykott
authored andcommitted
On 1.44.0, only test tests
This is required because the examples pull in the "reqwest" crate, which depends on "socket2" and this crate fails to build if the "const fn" feature is not present (which wasn't on 1.44.0). Hence, we only run the tests in the 1.44.0 job, but do not compile the examples. Signed-off-by: Matthias Beyer <[email protected]>
1 parent f8cef64 commit f0f212e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/msrv.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,18 @@ jobs:
5959
override: true
6060

6161
- name: Run cargo test
62-
if: matrix.rust != 'nightly'
62+
if: matrix.rust != 'nightly' && matrix.rust != '1.44.0'
63+
uses: actions-rs/cargo@v1
64+
with:
65+
command: test
66+
67+
- name: Run cargo test (nightly)
68+
if: matrix.rust == '1.44.0'
69+
continue-on-error: true
6370
uses: actions-rs/cargo@v1
6471
with:
6572
command: test
73+
args: --tests
6674

6775
- name: Run cargo test (nightly)
6876
if: matrix.rust == 'nightly'

0 commit comments

Comments
 (0)