Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add tests for package derive #230

Merged
merged 1 commit into from
Aug 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,35 @@ jobs:
working-directory: ${{env.working-directory}}
run: cargo test --locked

package_derive:
name: package_derive
runs-on: ubuntu-latest
env:
working-directory: ./packages/derive
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v2
with:
path: ~/.cargo
key: cargocache-v2-package_derive-rust:1.51.0-${{ hashFiles('Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Build
working-directory: ${{env.working-directory}}
run: cargo build --locked
- name: Run tests
working-directory: ${{env.working-directory}}
run: cargo test --locked

package_schema:
name: package_schema
runs-on: ubuntu-latest
Expand Down Expand Up @@ -119,6 +148,7 @@ jobs:
git status && git --no-pager diff
exit 1
fi

package_storage:
name: package_storage
runs-on: ubuntu-latest
Expand Down