From b82e3882f41dcee4ece14f4c3baa224178ac0616 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Thu, 11 Sep 2025 16:43:13 +0300 Subject: [PATCH] ci: run tests --- .github/workflows/ci.yml | 5 ++++- .tangled/workflows/fmt.yml | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc5ec2a..9d58ff7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: branches: - main jobs: - fmt: + tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -23,3 +23,6 @@ jobs: run: | type cargo cargo fmt --all --check + - name: Run tests + run: | + cargo test diff --git a/.tangled/workflows/fmt.yml b/.tangled/workflows/fmt.yml index a22601d..ca9cd08 100644 --- a/.tangled/workflows/fmt.yml +++ b/.tangled/workflows/fmt.yml @@ -9,8 +9,12 @@ dependencies: - cargo - rustc - rustfmt + - gcc steps: - name: "cargo fmt" command: | cargo fmt --all --check + - name: "cargo test" + command: | + cargo test -- 2.51.2