diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.yml index 9e4cd9f0..90bb2635 100644 --- a/.github/workflows/test-rust.yml +++ b/.github/workflows/test-rust.yml @@ -64,18 +64,18 @@ jobs: working-directory: examples/api run: mkdir dist - - name: test ${{ package }} + - name: test ${{ matrix.package }} if: matrix.package != 'tauri-plugin-sql' run: cargo test --package ${{ matrix.package }} --all-targets - - name: test ${{ package }} --all-features + - name: test ${{ matrix.package }} --all-features if: ${{ !contains(fromJSON('["tauri-plugin-http", "tauri-plugin-upload", "tauri-plugin-updater", "tauri-plugin-webspcket", "tauri-plugin-sql"]', matrix.package)) }} run: cargo test --package ${{ matrix.package }} --all-targets --all-features - - name: test ${{ package }} mysql + - name: test ${{ matrix.package }} mysql if: matrix.package == 'tauri-plugin-sql' run: cargo test --package ${{ matrix.package }} --all-targets --features mysql - - name: test ${{ package }} postgres + - name: test ${{ matrix.package }} postgres if: matrix.package == 'tauri-plugin-sql' run: cargo test --package ${{ matrix.package }} --all-targets --features postgres