Skip to content

Commit 6daccdd

Browse files
authored
Merge pull request #202 from bgamari/wip/ci
Test CI
2 parents 7e5898d + 07819a4 commit 6daccdd

3 files changed

Lines changed: 5 additions & 71 deletions

File tree

.github/workflows/haskell-ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This GitHub workflow config has been generated by a script via
22
#
3-
# haskell-ci 'github' 'binary.cabal'
3+
# haskell-ci '--no-benchmarks' '--no-tests' 'github' 'binary.cabal'
44
#
55
# To regenerate the script (for example after adjusting tested-with) run
66
#
@@ -10,7 +10,7 @@
1010
#
1111
# version: 0.15.20220812
1212
#
13-
# REGENDATA ("0.15.20220812",["github","binary.cabal"])
13+
# REGENDATA ("0.15.20220812",["--no-benchmarks","--no-tests","github","binary.cabal"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -121,8 +121,8 @@ jobs:
121121
122122
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
123123
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
124-
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
125-
echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
124+
echo "ARG_TESTS=--disable-tests" >> "$GITHUB_ENV"
125+
echo "ARG_BENCH=--disable-benchmarks" >> "$GITHUB_ENV"
126126
echo "HEADHACKAGE=false" >> "$GITHUB_ENV"
127127
echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
128128
echo "GHCJSARITH=0" >> "$GITHUB_ENV"
@@ -226,9 +226,6 @@ jobs:
226226
- name: build
227227
run: |
228228
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --write-ghc-environment-files=always
229-
- name: tests
230-
run: |
231-
$CABAL v2-test $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --test-show-details=direct
232229
- name: cabal check
233230
run: |
234231
cd ${PKGDIR_binary} || false

.travis.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# binary package #
1+
# binary package
22

33
[![Hackage version](https://img.shields.io/hackage/v/binary.svg?label=Hackage)](https://hackage.haskell.org/package/binary) [![Stackage version](https://www.stackage.org/package/binary/badge/lts?label=Stackage)](https://www.stackage.org/package/binary) [![Build Status](https://api.travis-ci.org/kolmodin/binary.png?branch=master)](http://travis-ci.org/kolmodin/binary)
44

0 commit comments

Comments
 (0)