Skip to content

Commit d9e4634

Browse files
committed
test.yml: Run integration tests on Linux separately
1 parent 1caedf0 commit d9e4634

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,38 @@ jobs:
4949
- name: Run unit tests
5050
run: nix-build -A project.kore.checks
5151

52-
- name: Run integration tests
53-
run: nix-build test.nix
54-
5552
- name: Check shell
5653
run: nix-shell --run "echo OK"
5754

55+
nix-integration:
56+
name: 'Nix / Integration'
57+
runs-on: ubuntu-latest
58+
needs: nix
59+
steps:
60+
- name: Check out code
61+
uses: actions/[email protected]
62+
with:
63+
# Check out pull request HEAD instead of merge commit.
64+
ref: ${{ github.event.pull_request.head.sha }}
65+
submodules: recursive
66+
67+
- name: Install Nix
68+
uses: cachix/install-nix-action@v12
69+
with:
70+
extra_nix_config: |
71+
substituters = http://cache.nixos.org https://hydra.iohk.io
72+
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
73+
74+
- name: Install Cachix
75+
uses: cachix/cachix-action@v8
76+
with:
77+
name: kore
78+
skipPush: true
79+
extraPullNames: runtimeverification
80+
81+
- name: Run integration tests
82+
run: nix-build test.nix
83+
5884
cabal:
5985
name: 'Cabal'
6086
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)