From e44f0786d833145c3dc761ad8592f732fd26aa84 Mon Sep 17 00:00:00 2001 From: p0lunin Date: Fri, 3 Jul 2020 16:37:05 +0300 Subject: [PATCH] revert test_examples.sh --- .github/workflows/ci.yml | 2 +- examples/test_examples.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 examples/test_examples.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 343818e1..66eb80eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,4 +50,4 @@ jobs: override: true components: rustfmt, clippy - name: Test the examples - run: cargo check --examples + run: cd examples && bash test_examples.sh diff --git a/examples/test_examples.sh b/examples/test_examples.sh new file mode 100644 index 00000000..5218c096 --- /dev/null +++ b/examples/test_examples.sh @@ -0,0 +1,6 @@ +##!/bin/sh + +for example in */; do + echo Testing $example... + cd $example; cargo check; cd ..; +done