Also run 'docs-all' on CI to assure CLI docs keep working (#281)

This was introduced with ee64b751ea.
This commit is contained in:
Sebastian Thiel
2021-04-26 09:31:34 +08:00
parent 0e278c383c
commit 18c4ea9ec9
2 changed files with 12 additions and 12 deletions

View File

@@ -2,22 +2,22 @@ name: Rust
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
TRAVIS: true # emulate CI, some code depends on it to do less work
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
source ~/.profile
make test-gen
make gen-all-cli cargo-api ARGS=test
make cargo-api ARGS=doc
cargo test
- uses: actions/checkout@v2
- name: Run tests
run: |
source ~/.profile
make test-gen
make gen-all-cli cargo-api ARGS=test
make cargo-api ARGS=doc
make docs-all
cargo test