CI
Some checks failed
Tests / check (push) Has been cancelled

This commit is contained in:
2026-02-05 00:07:47 +01:00
parent d25e3d34bb
commit f69fb565b2

32
.gitea/workflows/test.yml Normal file
View File

@@ -0,0 +1,32 @@
name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
- name: Run flake check
run: nix flake check --accept-flake-config
- name: Build packages
run: nix build .#opencode-jailed .#claude-jailed
- name: Run tests
run: nix build .#checks.${{ runner.system }}.*