Update testing examples CI

This commit is contained in:
Hirrolot 2022-02-02 04:00:48 +06:00
parent 7b6d2cb86c
commit 4b1bc22360
2 changed files with 2 additions and 24 deletions

View file

@ -91,18 +91,6 @@ jobs:
build-example: build-example:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
example: [
admin_bot,
dialogue_bot,
heroku_ping_pong_bot,
ngrok_ping_pong_bot,
dices_bot,
shared_state_bot,
simple_commands_bot,
redis_remember_bot,
]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
@ -110,5 +98,5 @@ jobs:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- name: Check the example - name: Check the examples
run: cd examples && cd ${{ matrix.example }} && cargo check run: cargo check --examples

View file

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