diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
new file mode 100644
index 0000000..edddf5e
--- /dev/null
+++ b/.forgejo/workflows/test.yml
@@ -0,0 +1,18 @@
+name: "Test"
+on:
+  pull_request:
+  push:
+jobs:
+  tests:
+    runs-on: native
+    steps:
+      - uses: actions/checkout@v4
+      - uses: https://github.com/cachix/cachix-action@v15
+        with:
+          name: mycache
+          authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
+      # - run: nix flake check
+      - run: nix build .#brlaser
+      - run: nix build .#deconz
+      - run: nix build .#nixosConfigurations.home-server.config.system.build.toplevel
+      - run: nix build .#nixosConfigurations.home-pc.config.system.build.toplevel