From e565ebf57d49d0c13cc2a7d82d0465f5394c90b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Mon, 22 May 2023 00:26:45 +0100 Subject: [PATCH] chore: added unit test execution --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e4e2ad09..ac8b67cd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,6 +37,8 @@ jobs: run: cargo fmt --all -- --check - name: Verify Rust code linting run: cargo clippy -- -D warnings -A unknown-lints + - name: Run unit tests + run: cargo test - name: Build development version run: cargo build - name: Build release version @@ -70,6 +72,8 @@ jobs: run: cargo fmt --all -- --check - name: Verify Rust code linting run: cargo clippy -- -D warnings -A unknown-lints + - name: Run unit tests + run: cargo test - name: Install wasm-pack run: cargo install wasm-pack - name: Build WASM Web binary @@ -115,6 +119,8 @@ jobs: run: cd frontends/sdl && cargo fmt --all -- --check - name: Verify Rust code linting 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 run: cd frontends/sdl && cargo build - name: Build release version -- GitLab