Skip to content

Commit e1b6d41

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

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,35 @@ jobs:
5555
- name: Check shell
5656
run: nix-shell --run "echo OK"
5757

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

0 commit comments

Comments
 (0)