Skip to content

Commit

Permalink
add test action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Grubenmann committed Jan 3, 2024
1 parent fe349d7 commit 6cfd3a9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run Tests
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix flake check
- run: |
nix develop --command nix run '.#initKind'
nix develop --command nix run '.#deployToKind'
go test -v ./...

0 comments on commit 6cfd3a9

Please sign in to comment.