mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Also run 'docs-all' on CI to assure CLI docs keep working (#281)
This was introduced with ee64b751ea.
This commit is contained in:
22
.github/workflows/rust.yml
vendored
22
.github/workflows/rust.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user