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

feat(wkg-core): Adds new wkg-core crate with lockfile support #91

Merged
Merged
Show file tree
Hide file tree
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
25 changes: 18 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,26 @@ name: CI
jobs:
run-ci:
name: Run CI
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
additional_test_flags: ""
- os: windows-latest
additional_test_flags: "--no-default-features"
- os: macos-latest
additional_test_flags: "--no-default-features"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: |
ci/get-oras.sh
echo "/tmp/ci-bin" >> $GITHUB_PATH
- name: Run cargo test
run: cargo test --all --workspace
with:
targets: "wasm32-wasi"
# We have to run these separately so we can deactivate a feature for one of the tests
- name: Run client tests
working-directory: ./crates/wasm-pkg-client
run: cargo test ${{ matrix.additional_test_flags }}
- name: Run other tests
run: cargo test --workspace --exclude wasm-pkg-client
- name: Run cargo clippy
run: cargo clippy --all --workspace
141 changes: 117 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading