File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
1717 continue-on-error : true
1818 strategy :
1919 matrix :
20- packageRoots : [ ./ hnix-store-core, ./ hnix-store-remote ]
20+ packageRoot : [ hnix-store-core, hnix-store-remote ]
2121 ghc : [ "8.10", "8.4" ]
2222 defaults :
2323 run :
24- working-directory : " ${{ matrix.packageRoots }}"
24+ working-directory : " ./ ${{ matrix.packageRoot }}"
2525 steps :
2626 - uses : actions/checkout@v2
2727 - name : " Cache of ~/.cabal/packages, ~/.cabal/store and dist-newstyle"
3838 - name : " Install additional system packages"
3939 run : sudo apt install libsodium-dev
4040 - run : cabal v2-install tasty-discover
41- - run : " cabal v2-configure --disable-optimization --enable-tests --enable-deterministic"
42- - run : " cabal v2-build"
43- - run : " cabal v2-test"
41+ - run : cabal v2-configure --disable-optimization --enable-tests --enable-deterministic
42+ if : matrix.packageRoot == 'hnix-store-core'
43+ - run : |
44+ cabal v2-configure --disable-optimization --enable-tests --enable-deterministic \
45+ -f io-testsuite # Enable the Store-remote test suite
46+ if: matrix.packageRoot == 'hnix-store-remote'
47+ - run : cabal v2-build
48+ - run : cabal v2-test
Original file line number Diff line number Diff line change @@ -10,14 +10,15 @@ jobs:
1010 build10 :
1111 name : " GHC"
1212 runs-on : ubuntu-latest
13+ continue-on-error : true
1314 strategy :
1415 matrix :
15- packageRoots : [ ./ hnix-store-core, ./ hnix-store-remote ]
16+ packageRoot : [ hnix-store-core, hnix-store-remote ]
1617 # Since CI by default tests boundary GHCs, test middle versions of GHCs
1718 ghc : [ "8.8", "8.6"]
1819 defaults :
1920 run :
20- working-directory : " ${{ matrix.packageRoots }}"
21+ working-directory : " ./ ${{ matrix.packageRoot }}"
2122 steps :
2223 - uses : actions/checkout@v2
2324 with :
4041 - name : " Install Nix"
4142 uses : cachix/install-nix-action@v12
4243 - run : cabal v2-configure --disable-optimization --enable-tests --enable-deterministic
44+ if : matrix.packageRoot == 'hnix-store-core'
45+ - run : |
46+ cabal v2-configure --disable-optimization --enable-tests --enable-deterministic \
47+ -f io-testsuite # Enable the Store-remote test suite
48+ if: matrix.packageRoot == 'hnix-store-remote'
4349 - run : cabal v2-build
4450 - run : cabal v2-test
You can’t perform that action at this time.
0 commit comments