summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-06-19 13:26:38 +0200
committerRadosław Kot <rdkt13@gmail.com>2021-07-03 20:30:21 +0200
commitf0f212ed7fd5364a2e4e4c67ef4b8a0b31106ade (patch)
tree24328f355e00561e0a3a6dd473cff49b5d562080
parentf8cef64efbcabc399c075788e2a835b9a3267c6c (diff)
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 <mail@beyermatthias.de>
-rw-r--r--.github/workflows/msrv.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml
index 17bed76..9fdd28e 100644
--- a/.github/workflows/msrv.yml
+++ b/.github/workflows/msrv.yml
@@ -59,10 +59,18 @@ jobs:
override: true
- name: Run cargo test
- if: matrix.rust != 'nightly'
+ if: matrix.rust != 'nightly' && matrix.rust != '1.44.0'
+ uses: actions-rs/cargo@v1
+ with:
+ command: test
+
+ - name: Run cargo test (nightly)
+ if: matrix.rust == '1.44.0'
+ continue-on-error: true
uses: actions-rs/cargo@v1
with:
command: test
+ args: --tests
- name: Run cargo test (nightly)
if: matrix.rust == 'nightly'