Skip to content

Commit

Permalink
Run web test if change instead of check
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeEngineer committed Jan 20, 2023
1 parent 7d10eb1 commit b81f836
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/actions/paths-filter/filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ rust:
- Cargo.lock
- rust-toolchain.toml

rust-platform-web: &rust-platform-web
- oxidation/libparsec/crates/platform_*/src/web/**

python:
- *shared
- parsec/**
Expand All @@ -33,11 +36,12 @@ client-common: &client-common
- oxidation/client/capacitor.config.ts
- oxidation/client/babel.config.js
- oxidation/client/tsconfig.json
- oxidation/bindings/common/**
- oxidation/bindings/generator/**

client-web:
- *shared
- *client-common
- *rust-platform-web
- oxidation/bindings/web/**
- oxidation/client/tests/**
- oxidation/client/jest.config.js
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,9 @@ jobs:
shell: bash
run: echo OPENSSL_SRC_PERL=C:/Strawberry/perl/bin/perl >> $GITHUB_ENV

- name: Additional Check
- name: Additional Check (for packaging)
if: startsWith(matrix.os, 'ubuntu')
run: |
set -ex
rustup target add wasm32-unknown-unknown
cargo check --no-default-features --features use-sodiumoxide
cargo check --target wasm32-unknown-unknown
run: cargo check --no-default-features --features use-sodiumoxide

- name: Test rust codebase
if: steps.rust-changes.outputs.run == 'true'
Expand Down

0 comments on commit b81f836

Please sign in to comment.