Skip to content

feat: Add functionality to export doc strings on types #438

feat: Add functionality to export doc strings on types

feat: Add functionality to export doc strings on types #438

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
e2e-dependencies:
name: Run 'dependencies' end-to-end test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: dependencies e2e test
working-directory: e2e/dependencies/consumer
run: |
cargo t
tsc bindings/* --noEmit
e2e-workspace:
name: Run 'workspace' end-to-end test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: workspace e2e test
working-directory: e2e/workspace
run: |
cargo t
tsc parent/bindings/* --noEmit
readme-up-to-date:
name: Check that README.md is up-to-date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Check that README.md is up-to-date
working-directory: ts-rs
run: |
cargo install cargo-readme
diff -u ../README.md <(cargo readme)
test:
name: Test ts-rs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --manifest-path ts-rs/Cargo.toml
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --manifest-path ts-rs/Cargo.toml