From 6c4411d998cd2b14f42052e61243100812c82be4 Mon Sep 17 00:00:00 2001 From: Huan-Cheng Chang Date: Thu, 9 Jan 2025 10:29:51 +0000 Subject: [PATCH] test: test --- .github/workflows/ci.yml | 4 ++-- crates/jstzd/src/task/utils.rs | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecfe5b6b2..f4a290495 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: build: name: Build - runs-on: [x86_64, linux, nix] + runs-on: [arm64, macos, nix] needs: [commitlint] steps: - uses: actions/checkout@v4 @@ -37,7 +37,7 @@ jobs: # Coverage is part of nix flake check, but we want to upload it to Codecov # So we run it again (it's cached) and upload the result - name: Coverage - run: nix --accept-flake-config --log-format raw -L build .#checks.x86_64-linux.cargo-llvm-cov + run: nix --accept-flake-config --log-format raw -L build .#checks.aarch64-darwin.cargo-llvm-cov - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.2.0 with: diff --git a/crates/jstzd/src/task/utils.rs b/crates/jstzd/src/task/utils.rs index 45be9231b..e891d8c2b 100644 --- a/crates/jstzd/src/task/utils.rs +++ b/crates/jstzd/src/task/utils.rs @@ -120,4 +120,9 @@ mod tests { .is_none() ); } + + #[test] + fn dummy() { + assert_eq!(1 + 1 - 1, 1); + } }