Skip to content
Snippets Groups Projects
Verified Commit e565ebf5 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

chore: added unit test execution

parent 1d386c55
No related branches found
No related tags found
No related merge requests found
Pipeline #2775 passed
...@@ -37,6 +37,8 @@ jobs: ...@@ -37,6 +37,8 @@ jobs:
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
- name: Verify Rust code linting - name: Verify Rust code linting
run: cargo clippy -- -D warnings -A unknown-lints run: cargo clippy -- -D warnings -A unknown-lints
- name: Run unit tests
run: cargo test
- name: Build development version - name: Build development version
run: cargo build run: cargo build
- name: Build release version - name: Build release version
...@@ -70,6 +72,8 @@ jobs: ...@@ -70,6 +72,8 @@ jobs:
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
- name: Verify Rust code linting - name: Verify Rust code linting
run: cargo clippy -- -D warnings -A unknown-lints run: cargo clippy -- -D warnings -A unknown-lints
- name: Run unit tests
run: cargo test
- name: Install wasm-pack - name: Install wasm-pack
run: cargo install wasm-pack run: cargo install wasm-pack
- name: Build WASM Web binary - name: Build WASM Web binary
...@@ -115,6 +119,8 @@ jobs: ...@@ -115,6 +119,8 @@ jobs:
run: cd frontends/sdl && cargo fmt --all -- --check run: cd frontends/sdl && cargo fmt --all -- --check
- name: Verify Rust code linting - name: Verify Rust code linting
run: cd frontends/sdl && cargo clippy -- -D warnings -A unknown-lints run: cd frontends/sdl && cargo clippy -- -D warnings -A unknown-lints
- name: Run unit tests
run: cd frontends/sdl && cargo test
- name: Build development version - name: Build development version
run: cd frontends/sdl && cargo build run: cd frontends/sdl && cargo build
- name: Build release version - name: Build release version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment