From c145c7bd09f6f1ceac68740f2177841ef1e20b83 Mon Sep 17 00:00:00 2001 From: Mark Karpov Date: Mon, 13 Jul 2020 22:14:37 +0200 Subject: [PATCH 1/7] Use GitHub actions for CI --- .github/workflows/ci.yaml | 70 +++++++++++++++++++++++++++++++++++++++ .travis.yml | 57 ------------------------------- README.md | 3 +- appveyor.yml | 21 ------------ 4 files changed, 71 insertions(+), 80 deletions(-) create mode 100644 .github/workflows/ci.yaml delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..7b14979 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,70 @@ +name: CI +on: + push: + branches: + - master + pull_request: + types: + - opened + - synchronize +jobs: + build-linux: + runs-on: ubuntu-latest + strategy: + matrix: + cabal: ["3.2"] + ghc: ["8.6.5", "8.8.3", "8.10.1"] + env: + CONFIG: "--enable-tests --enable-benchmarks --flags=dev" + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-haskell@v1.1.2 + id: setup-haskell-cabal + with: + ghc-version: ${{ matrix.ghc }} + cabal-version: ${{ matrix.cabal }} + - run: cabal v2-update + - run: cabal v2-freeze $CONFIG + - uses: actions/cache@v2 + with: + path: | + ~/.cabal/packages + ${{ steps.setup-haskell-cabal.outputs.cabal-store }} + dist-newstyle + key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.ghc }}- + - run: cabal v2-build $CONFIG + - run: cabal v2-test $CONFIG + - run: cabal v2-haddock $CONFIG + - run: cabal v2-sdist + build-windows: + runs-on: windows-latest + strategy: + matrix: + cabal: ["3.2"] + ghc: ["8.10.1"] # with older GHC dependencies fail to build + env: + CONFIG: "--enable-tests --enable-benchmarks --flags=dev" + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-haskell@v1.1.2 + id: setup-haskell-cabal + with: + ghc-version: ${{ matrix.ghc }} + cabal-version: ${{ matrix.cabal }} + - run: cabal v2-update + - run: cabal v2-freeze $CONFIG + - uses: actions/cache@v2 + with: + path: | + C:\\Users\\runneradmin\\AppData\\Roaming\\cabal\\packages + ${{ steps.setup-haskell-cabal.outputs.cabal-store }} + dist-newstyle + key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.ghc }}- + - run: cabal v2-build $CONFIG + - run: cabal v2-test $CONFIG + - run: cabal v2-haddock $CONFIG + - run: cabal v2-sdist diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c511ee9..0000000 --- a/.travis.yml +++ /dev/null @@ -1,57 +0,0 @@ -language: c - -sudo: false - -cache: - directories: - - ~/.cabal/packages - - ~/.cabal/store - - ~/.stack - -addons: - apt: - packages: - - libgmp-dev - -matrix: - include: - - env: TYPE=cabal CABALVER=3.0 GHCVER=8.6.5 - addons: {apt: {packages: [cabal-install-3.0,ghc-8.6.5], sources: [hvr-ghc]}} - - env: CABALVER=3.0 GHCVER=8.8.3 - addons: {apt: {packages: [cabal-install-3.0,ghc-8.8.3], sources: [hvr-ghc]}} - - env: TYPE=cabal CABALVER=3.0 GHCVER=8.10.1 - addons: {apt: {packages: [cabal-install-3.0,ghc-8.10.1], sources: [hvr-ghc]}} - - env: TYPE=stack ARGS="--stack-yaml stack.yaml" - -before_install: - - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH - -install: - - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]" - - mkdir -pv ~/.local/bin - - case "$TYPE" in - cabal) travis_retry cabal new-update ;; - stack) travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' ;; - esac - -script: - - | - set -ex # Error out after first failure and print each command before executing - case "$TYPE" in - cabal) - cabal new-build --enable-tests --enable-benchmarks --flags=dev - cabal new-test --enable-tests --enable-benchmarks --flags=dev - cabal new-haddock - cabal new-sdist - ;; - stack) - stack --version - stack --no-terminal --install-ghc $ARGS test - ;; - esac - set +ex # Stop printing each command - -notifications: - email: - on_success: never - on_failure: always diff --git a/README.md b/README.md index e8cd3e7..dc13018 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Path -[![Travis Build Status](https://travis-ci.org/commercialhaskell/path.svg)](https://travis-ci.org/commercialhaskell/path) -[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/commercialhaskell/path?svg=true)](https://ci.appveyor.com/project/chrisdone/path) +![CI](https://github.com/commercialhaskell/path/workflows/CI/badge.svg?branch=master) [![Hackage](https://img.shields.io/hackage/v/path.svg)](https://hackage.haskell.org/package/path) [![Stackage LTS](http://stackage.org/package/path/badge/lts)](http://stackage.org/lts/package/path) [![Stackage Nightly](http://stackage.org/package/path/badge/nightly)](http://stackage.org/nightly/package/path) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index c5ab1df..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Disable standard build process with MSBuild -build: off - -# In case of unreliable builds try disabling caching. -cache: -- "c:\\sr" - -clone_folder: "c:\\stack" -environment: - global: - STACK_ROOT: "c:\\sr" - -install: -- curl -sSL -ostack.zip https://get.haskellstack.org/stable/windows-x86_64.zip -- 7z x stack.zip stack.exe - -test_script: -- stack setup > nul -# The ugly echo "" hack is to avoid complaints about 0 being an invalid file -# descriptor -- echo "" | stack --no-terminal build --haddock --no-haddock-deps --bench --test :test From 98eb9996b2631638b7e4cd3a950f8c399326ecef Mon Sep 17 00:00:00 2001 From: Mark Karpov Date: Mon, 13 Jul 2020 22:33:51 +0200 Subject: [PATCH 2/7] Fix the test suite on Windows --- test/TH.hs | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/test/TH.hs b/test/TH.hs index 7913913..f0ec367 100644 --- a/test/TH.hs +++ b/test/TH.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE TemplateHaskell #-} @@ -22,10 +23,18 @@ instance Foo Rel File qqAbsDir :: FilePath +#ifdef mingw32_HOST_OS +qqAbsDir = foo [absdir|C:\foo\|] +#else qqAbsDir = foo [absdir|/foo/|] +#endif qqAbsFile :: FilePath -qqAbsFile = foo [absfile|/foo|] +#ifdef mingw32_HOST_OS +qqAbsFile = foo [absdir|C:\foo|] +#else +qqAbsFile = foo [absdir|/foo|] +#endif qqRelDir :: FilePath qqRelDir = foo [reldir|foo/|] @@ -34,10 +43,18 @@ qqRelFile :: FilePath qqRelFile = foo [relfile|foo|] thAbsDir :: FilePath +#ifdef mingw32_HOST_OS +thAbsDir = foo $(mkAbsDir "C:\\foo\\") +#else thAbsDir = foo $(mkAbsDir "/foo/") +#endif thAbsFile :: FilePath +#ifdef mingw32_HOST_OS +thAbsFile = foo $(mkAbsFile "C:\\foo") +#else thAbsFile = foo $(mkAbsFile "/foo") +#endif thRelDir :: FilePath thRelDir = foo $(mkRelDir "foo/") @@ -46,10 +63,18 @@ thRelFile :: FilePath thRelFile = foo $(mkRelFile "foo") liftAbsDir :: FilePath +#ifdef mingw32_HOST_OS +liftAbsDir = foo $(TH.lift (Path "C:\\foo\\" :: Path Abs Dir)) +#else liftAbsDir = foo $(TH.lift (Path "/foo/" :: Path Abs Dir)) +#endif liftAbsFile :: FilePath +#ifdef mingw32_HOST_OS +liftAbsFile = foo $(TH.lift (Path "C:\\foo" :: Path Abs File)) +#else liftAbsFile = foo $(TH.lift (Path "/foo" :: Path Abs File)) +#endif liftRelDir :: FilePath liftRelDir = foo $(TH.lift (Path "foo/" :: Path Rel Dir)) From 005dd366d55e6ac9168b015c47ec586a488a7a84 Mon Sep 17 00:00:00 2001 From: Mark Karpov Date: Sat, 22 Aug 2020 22:43:41 +0200 Subject: [PATCH 3/7] Test with GHC 8.8.4 --- .github/workflows/ci.yaml | 2 +- path.cabal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7b14979..8b2dd67 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: strategy: matrix: cabal: ["3.2"] - ghc: ["8.6.5", "8.8.3", "8.10.1"] + ghc: ["8.6.5", "8.8.4", "8.10.1"] env: CONFIG: "--enable-tests --enable-benchmarks --flags=dev" steps: diff --git a/path.cabal b/path.cabal index 9eee174..12f2ab9 100644 --- a/path.cabal +++ b/path.cabal @@ -10,7 +10,7 @@ copyright: 2015–2018 FP Complete category: System, Filesystem build-type: Simple cabal-version: 1.18 -tested-with: GHC==8.6.5, GHC==8.8.3, GHC==8.10.1 +tested-with: GHC==8.6.5, GHC==8.8.4, GHC==8.10.1 extra-source-files: README.md , CHANGELOG , src/Path/Include.hs From 3d28468e417602ed501054b469cdae9e5529abf3 Mon Sep 17 00:00:00 2001 From: Tom Sydney Kerckhove Date: Thu, 18 Feb 2021 07:40:30 +0100 Subject: [PATCH 4/7] try another ci script --- .github/workflows/ci.yaml | 151 +++++++++++++++++++++++--------------- 1 file changed, 92 insertions(+), 59 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8b2dd67..7380ad0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,70 +1,103 @@ + name: CI + +# Trigger the workflow on push or pull request, but only for the main branch on: - push: - branches: - - master pull_request: - types: - - opened - - synchronize + push: + branches: [master] + jobs: - build-linux: - runs-on: ubuntu-latest + cabal: + name: ${{ matrix.os }} / ghc ${{ matrix.ghc }} + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] cabal: ["3.2"] - ghc: ["8.6.5", "8.8.4", "8.10.1"] - env: - CONFIG: "--enable-tests --enable-benchmarks --flags=dev" + ghc: + - "8.6.5" + - "8.8.4" + - "8.10.2" + # exclude: + # - os: macOS-latest + # ghc: 8.8.4 + # - os: macOS-latest + # ghc: 8.6.5 + # - os: windows-latest + # ghc: 8.10.2 + # - os: windows-latest + # ghc: 8.6.5 + steps: - - uses: actions/checkout@v2 - - uses: actions/setup-haskell@v1.1.2 - id: setup-haskell-cabal - with: - ghc-version: ${{ matrix.ghc }} - cabal-version: ${{ matrix.cabal }} - - run: cabal v2-update - - run: cabal v2-freeze $CONFIG - - uses: actions/cache@v2 - with: - path: | - ~/.cabal/packages - ${{ steps.setup-haskell-cabal.outputs.cabal-store }} - dist-newstyle - key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.ghc }}- - - run: cabal v2-build $CONFIG - - run: cabal v2-test $CONFIG - - run: cabal v2-haddock $CONFIG - - run: cabal v2-sdist - build-windows: - runs-on: windows-latest + - uses: actions/checkout@v2 + if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main' + + - uses: actions/setup-haskell@v1.1.4 + id: setup-haskell-cabal + name: Setup Haskell + with: + ghc-version: ${{ matrix.ghc }} + cabal-version: ${{ matrix.cabal }} + + - name: Configure + run: | + cabal configure --enable-tests --enable-benchmarks --test-show-details=direct + + - name: Freeze + run: | + cabal freeze + + - uses: actions/cache@v2.1.3 + name: Cache ~/.cabal/store + with: + path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }} + key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }} + + - name: Install dependencies + run: | + cabal build all --only-dependencies + + - name: Build + run: | + cabal build all + + - name: Test + run: | + cabal test all + + stack: + name: stack / ghc ${{ matrix.ghc }} + runs-on: ubuntu-latest strategy: matrix: - cabal: ["3.2"] - ghc: ["8.10.1"] # with older GHC dependencies fail to build - env: - CONFIG: "--enable-tests --enable-benchmarks --flags=dev" + stack: ["2.3.1"] + ghc: ["8.8.4"] + steps: - - uses: actions/checkout@v2 - - uses: actions/setup-haskell@v1.1.2 - id: setup-haskell-cabal - with: - ghc-version: ${{ matrix.ghc }} - cabal-version: ${{ matrix.cabal }} - - run: cabal v2-update - - run: cabal v2-freeze $CONFIG - - uses: actions/cache@v2 - with: - path: | - C:\\Users\\runneradmin\\AppData\\Roaming\\cabal\\packages - ${{ steps.setup-haskell-cabal.outputs.cabal-store }} - dist-newstyle - key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.ghc }}- - - run: cabal v2-build $CONFIG - - run: cabal v2-test $CONFIG - - run: cabal v2-haddock $CONFIG - - run: cabal v2-sdist + - uses: actions/checkout@v2 + if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main' + + - uses: actions/setup-haskell@v1.1.4 + name: Setup Haskell Stack + with: + ghc-version: ${{ matrix.ghc }} + stack-version: ${{ matrix.stack }} + + - uses: actions/cache@v2.1.3 + name: Cache ~/.stack + with: + path: ~/.stack + key: ${{ runner.os }}-${{ matrix.ghc }}-stack + + - name: Install dependencies + run: | + stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --only-dependencies + + - name: Build + run: | + stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks + + - name: Test + run: | + stack test --system-ghc From 6227cb10fe942cd3a16827d5403c046e1d7543fd Mon Sep 17 00:00:00 2001 From: Tom Sydney Kerckhove Date: Thu, 18 Feb 2021 08:49:21 +0100 Subject: [PATCH 5/7] split up the TH tests to try to get windows CI to pass --- path.cabal | 1 - test/Common/Include.hs | 31 ++++++++++++++++ test/Common/Posix.hs | 20 ++++++++++ test/Common/Windows.hs | 20 ++++++++++ test/TH.hs | 83 ------------------------------------------ 5 files changed, 71 insertions(+), 84 deletions(-) delete mode 100644 test/TH.hs diff --git a/path.cabal b/path.cabal index 12f2ab9..78bff3b 100644 --- a/path.cabal +++ b/path.cabal @@ -56,7 +56,6 @@ test-suite test , Windows , Common.Posix , Common.Windows - , TH hs-source-dirs: test build-depends: aeson , base >= 4.12 && < 5 diff --git a/test/Common/Include.hs b/test/Common/Include.hs index 023b8d4..64b5969 100644 --- a/test/Common/Include.hs +++ b/test/Common/Include.hs @@ -2,6 +2,8 @@ -- PLATFORM_NAME = Posix | Windows -- IS_WINDOWS = False | True +{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE TemplateHaskell #-} -- | Test functions that are common to Posix and Windows @@ -9,10 +11,39 @@ module Common.PLATFORM_NAME (extensionOperations) where import Control.Monad +import qualified Language.Haskell.TH.Syntax as TH +import Path.Internal.PLATFORM_NAME import Path.PLATFORM_NAME import System.FilePath.PLATFORM_NAME (pathSeparator) import Test.Hspec +class Foo a b where + foo :: Path a b -> FilePath + foo = toFilePath + +instance Foo Abs Dir +instance Foo Abs File +instance Foo Rel Dir +instance Foo Rel File + +qqRelDir :: FilePath +qqRelDir = foo [reldir|foo/|] + +qqRelFile :: FilePath +qqRelFile = foo [relfile|foo|] + +thRelDir :: FilePath +thRelDir = foo $(mkRelDir "foo/") + +thRelFile :: FilePath +thRelFile = foo $(mkRelFile "foo") + +liftRelDir :: FilePath +liftRelDir = foo $(TH.lift (Path "foo/" :: Path Rel Dir)) + +liftRelFile :: FilePath +liftRelFile = foo $(TH.lift (Path "foo" :: Path Rel File)) + validExtensionsSpec :: String -> Path b File -> Path b File -> Spec validExtensionsSpec ext file fext = do let f = show $ toFilePath file diff --git a/test/Common/Posix.hs b/test/Common/Posix.hs index 25e35e1..a7217d5 100644 --- a/test/Common/Posix.hs +++ b/test/Common/Posix.hs @@ -1,4 +1,24 @@ {-# LANGUAGE CPP #-} +{-# LANGUAGE QuasiQuotes #-} + #define PLATFORM_NAME Posix #define IS_WINDOWS False #include "Include.hs" + +qqAbsDir :: FilePath +qqAbsDir = foo [absdir|/foo/|] + +qqAbsFile :: FilePath +qqAbsFile = foo [absdir|/foo|] + +thAbsDir :: FilePath +thAbsDir = foo $(mkAbsDir "/foo/") + +thAbsFile :: FilePath +thAbsFile = foo $(mkAbsFile "/foo") + +liftAbsDir :: FilePath +liftAbsDir = foo $(TH.lift (Path "/foo/" :: Path Abs Dir)) + +liftAbsFile :: FilePath +liftAbsFile = foo $(TH.lift (Path "/foo" :: Path Abs File)) diff --git a/test/Common/Windows.hs b/test/Common/Windows.hs index a8b5cbb..2d72f5b 100644 --- a/test/Common/Windows.hs +++ b/test/Common/Windows.hs @@ -1,4 +1,24 @@ {-# LANGUAGE CPP #-} +{-# LANGUAGE QuasiQuotes #-} #define PLATFORM_NAME Windows #define IS_WINDOWS True #include "Include.hs" + +qqAbsDir :: FilePath +qqAbsDir = foo [absdir|C:\foo\|] + +qqAbsFile :: FilePath +qqAbsFile = foo [absdir|C:\foo|] + +thAbsDir :: FilePath +thAbsDir = foo $(mkAbsDir "C:\\foo\\") + +thAbsFile :: FilePath +thAbsFile = foo $(mkAbsFile "C:\\foo") + +liftAbsDir :: FilePath +liftAbsDir = foo $(TH.lift (Path "C:\\foo\\" :: Path Abs Dir)) + +liftAbsFile :: FilePath +liftAbsFile = foo $(TH.lift (Path "C:\\foo" :: Path Abs File)) + diff --git a/test/TH.hs b/test/TH.hs deleted file mode 100644 index f0ec367..0000000 --- a/test/TH.hs +++ /dev/null @@ -1,83 +0,0 @@ -{-# LANGUAGE CPP #-} -{-# LANGUAGE MultiParamTypeClasses #-} -{-# LANGUAGE QuasiQuotes #-} -{-# LANGUAGE TemplateHaskell #-} - -module TH where - -import qualified Language.Haskell.TH.Syntax as TH -import Path.Posix -import Path.Internal.Posix - - - -class Foo a b where - foo :: Path a b -> FilePath - foo = toFilePath - -instance Foo Abs Dir -instance Foo Abs File -instance Foo Rel Dir -instance Foo Rel File - - - -qqAbsDir :: FilePath -#ifdef mingw32_HOST_OS -qqAbsDir = foo [absdir|C:\foo\|] -#else -qqAbsDir = foo [absdir|/foo/|] -#endif - -qqAbsFile :: FilePath -#ifdef mingw32_HOST_OS -qqAbsFile = foo [absdir|C:\foo|] -#else -qqAbsFile = foo [absdir|/foo|] -#endif - -qqRelDir :: FilePath -qqRelDir = foo [reldir|foo/|] - -qqRelFile :: FilePath -qqRelFile = foo [relfile|foo|] - -thAbsDir :: FilePath -#ifdef mingw32_HOST_OS -thAbsDir = foo $(mkAbsDir "C:\\foo\\") -#else -thAbsDir = foo $(mkAbsDir "/foo/") -#endif - -thAbsFile :: FilePath -#ifdef mingw32_HOST_OS -thAbsFile = foo $(mkAbsFile "C:\\foo") -#else -thAbsFile = foo $(mkAbsFile "/foo") -#endif - -thRelDir :: FilePath -thRelDir = foo $(mkRelDir "foo/") - -thRelFile :: FilePath -thRelFile = foo $(mkRelFile "foo") - -liftAbsDir :: FilePath -#ifdef mingw32_HOST_OS -liftAbsDir = foo $(TH.lift (Path "C:\\foo\\" :: Path Abs Dir)) -#else -liftAbsDir = foo $(TH.lift (Path "/foo/" :: Path Abs Dir)) -#endif - -liftAbsFile :: FilePath -#ifdef mingw32_HOST_OS -liftAbsFile = foo $(TH.lift (Path "C:\\foo" :: Path Abs File)) -#else -liftAbsFile = foo $(TH.lift (Path "/foo" :: Path Abs File)) -#endif - -liftRelDir :: FilePath -liftRelDir = foo $(TH.lift (Path "foo/" :: Path Rel Dir)) - -liftRelFile :: FilePath -liftRelFile = foo $(TH.lift (Path "foo" :: Path Rel File)) From 1fc5326a4c7df84533e5010f3e669606e99713a0 Mon Sep 17 00:00:00 2001 From: Tom Sydney Kerckhove Date: Thu, 25 Feb 2021 18:52:03 +0100 Subject: [PATCH 6/7] turn off validity tests on ci --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7380ad0..7fb95bf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -100,4 +100,8 @@ jobs: - name: Test run: | - stack test --system-ghc + stack test --system-ghc :test + + # - name: Test + # run: | + # stack test --system-ghc :validity-test From 6b943bfa41d3e0c0fd4010251840eab7047ba9c4 Mon Sep 17 00:00:00 2001 From: Tom Sydney Kerckhove Date: Thu, 25 Feb 2021 19:09:44 +0100 Subject: [PATCH 7/7] turn off validity tests with cabal too --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7fb95bf..b652b5a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,7 +64,11 @@ jobs: - name: Test run: | - cabal test all + cabal test path:test + + # - name: Test + # run: | + # cabal test path:validity-test stack: name: stack / ghc ${{ matrix.ghc }}