Fix ci.yml

This commit is contained in:
Temirkhan Myrzamadi 2020-03-31 13:49:55 +06:00
parent 6424c05828
commit 68904e3a5a
3 changed files with 8 additions and 10 deletions

View file

@ -65,7 +65,7 @@ jobs:
args: --all-targets --all-features -- -D warnings
- name: Test the examples
run: ./.github/workflows/test_examples.sh
run: ./examples/test_examples.sh
- name: fmt
uses: actions-rs/cargo@v1

View file

@ -1,9 +0,0 @@
##!/bin/sh
cd ../../
for example in examples/*; do
echo Testing $example...
cd $example; cargo check; cd ../..;
done

View file

@ -0,0 +1,7 @@
##!/bin/sh
for example in */; do
echo Testing $example...
cd $example; cargo check; cd ..;
done