annotate .github/workflows/runtests.yml @ 39:d70e15f7be41

Be more quiet when installing
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Thu, 17 Dec 2020 14:19:38 +0100 (2020-12-17)
parents 5ce37dec133b
children fb47602ecf72
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
1 name: Run monetdb-perl test suite
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
2
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
3 on: [push]
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
4
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
5 jobs:
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
6 runtests:
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
7 runs-on: ubuntu-latest
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
8 env:
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
9 DBFARM: /var/lib/monetdb
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
10
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
11 steps:
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
12 - uses: actions/checkout@v2
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
13
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
14 - name: Install MonetDB
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
15 run: |
32
d76d0651512f Set -e, set PERL5LIB during build
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 31
diff changeset
16 set -x -e
30
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
17 lsb_release -c -s
39
d70e15f7be41 Be more quiet when installing
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 38
diff changeset
18 sudo apt-get -qq update
d70e15f7be41 Be more quiet when installing
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 38
diff changeset
19 sudo apt-get -qq install y software-properties-common curl make libdbi-perl
31
6c3c92109f97 workflow version 2
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 30
diff changeset
20 curl -s https://www.monetdb.org/downloads/MonetDB-GPG-KEY | sudo apt-key add -
6c3c92109f97 workflow version 2
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 30
diff changeset
21 sudo add-apt-repository "deb http://dev.monetdb.org/downloads/deb/ $(lsb_release -c -s) monetdb"
39
d70e15f7be41 Be more quiet when installing
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 38
diff changeset
22 sudo apt-get -qq update
d70e15f7be41 Be more quiet when installing
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 38
diff changeset
23 sudo apt-get -qq install -qqy monetdb5-server
30
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
24
36
81d45b439e58 .editorconfig keeps messing up my yaml
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 35
diff changeset
25 - name: Run Unit-Tests
81d45b439e58 .editorconfig keeps messing up my yaml
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 35
diff changeset
26 run: |
81d45b439e58 .editorconfig keeps messing up my yaml
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 35
diff changeset
27 set -x -e
37
c436b5131196 Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 36
diff changeset
28 ./runtests.sh