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

View File

@@ -1,6 +1,6 @@
mako==1.1.4 mako==1.1.4
pyyaml pyyaml
mkdocs==1.1.2 mkdocs==0.11
pytest pytest
pytest-cov pytest-cov
importlib_resources importlib_resources