aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/check-testdata.sh
blob: 9e2182d054397e0ecc1682b65bb3f63804ab5f8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

set -e -o pipefail

echo "=== Stack resolvers"

$CI_PROJECT_DIR/scripts/ci/update-stack-resolvers.sh \
        | tee tests/stack-resolvers.new

git diff --exit-code -- tests/stack-resolvers tests/stack-resolvers.new \
        && echo OK

echo; echo; echo "=== Cabal versions"
$CI_PROJECT_DIR/scripts/ci/update-cabal-versions.sh \
        | tee tests/cabal-versions.new

git diff --exit-code -- tests/cabal-versions tests/cabal-versions.new \
        && echo OK