From 48de6c3570f17a6495711b5f7890d31f636d025a Mon Sep 17 00:00:00 2001 From: Efim Kubishkin Date: Sun, 17 Mar 2024 18:59:52 +0300 Subject: [PATCH] Comment building and running tests --- .github/workflows/CI.yaml | 58 +++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 628d728..9242b00 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -3,36 +3,36 @@ name: CI (Stack) on: [push, pull_request] jobs: - test_with_stack: - name: Testing with Stack-${{ matrix.stack }}, on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - stack: ["2.9.3"] + # test_with_stack: + # name: Testing with Stack-${{ matrix.stack }}, on ${{ matrix.os }} + # runs-on: ${{ matrix.os }} + # strategy: + # matrix: + # os: [ubuntu-latest] + # stack: ["2.9.3"] - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-haskell@v1.1.3 - with: - ghc-version: ${{ matrix.ghc }} - stack-version: ${{ matrix.stack }} - - name: Cache (Unix platform) - uses: actions/cache@v2 - with: - path: ~/.stack - key: stack-cache-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('stack.yaml') }} - restore-keys: | - stack-cache-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }} - stack-cache-${{ runner.os }} - - name: Install dependencies - run: | - stack update - stack build --system-ghc --only-dependencies --test --bench --no-run-tests --no-run-benchmarks - - name: Build - run: stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks - - name: Run tests - run: stack test + # steps: + # - uses: actions/checkout@v2 + # - uses: actions/setup-haskell@v1.1.3 + # with: + # ghc-version: ${{ matrix.ghc }} + # stack-version: ${{ matrix.stack }} + # - name: Cache (Unix platform) + # uses: actions/cache@v2 + # with: + # path: ~/.stack + # key: stack-cache-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('stack.yaml') }} + # restore-keys: | + # stack-cache-${{ runner.os }}-${{ hashFiles('stack.yaml.lock') }} + # stack-cache-${{ runner.os }} + # - name: Install dependencies + # run: | + # stack update + # stack build --system-ghc --only-dependencies --test --bench --no-run-tests --no-run-benchmarks + # - name: Build + # run: stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks + # - name: Run tests + # run: stack test hlint: runs-on: ubuntu-latest steps: