mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-26 17:02:24 +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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user