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

build(ci): add extra checks to test workflow #167

Closed
wants to merge 1 commit into from
Closed
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
17 changes: 14 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,18 @@ jobs:
- name: Yarn install FE dependencies
run: yarn --prefer-offline --frozen-lockfile --network-timeout 1000000 install

- name: Cargo Check
run: cargo check
working-directory: src-tauri

- name: Cargo Fmt
run: cargo fmt -- --check
working-directory: src-tauri

- name: Cargo Clippy
run: cargo clippy -- -D warnings
working-directory: src-tauri

- name: Build tauri App
uses: tauri-apps/tauri-action@v0
env:
Expand All @@ -89,9 +101,8 @@ jobs:
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}

- name: Run Rust tests
run: |
cd src-tauri
cargo test --package coh3-stats-desktop-app --lib
run: cargo test --package coh3-stats-desktop-app --lib
working-directory: src-tauri

- name: Install tauri-driver
run: |
Expand Down
Loading