mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Update testing examples CI
This commit is contained in:
parent
7b6d2cb86c
commit
4b1bc22360
2 changed files with 2 additions and 24 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
##!/bin/sh
|
|
||||||
|
|
||||||
for example in */; do
|
|
||||||
echo Testing $example...
|
|
||||||
cd $example
|
|
||||||
cargo check &
|
|
||||||
cd ..
|
|
||||||
done
|
|
||||||
|
|
||||||
wait
|
|
Loading…
Reference in a new issue