Mercurial > hg > monetdb-perl
annotate .github/workflows/runtests.yml @ 38:5ce37dec133b
Also install DBI
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Thu, 17 Dec 2020 14:13:45 +0100 (2020-12-17) |
parents | c436b5131196 |
children | d70e15f7be41 |
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 |
2ac3451a49d5
Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
18 sudo apt-get update -qq |
38
5ce37dec133b
Also install DBI
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
37
diff
changeset
|
19 sudo apt-get install -qqy 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" |
30
2ac3451a49d5
Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
22 sudo apt-get update -qq |
37
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
36
diff
changeset
|
23 sudo apt-get 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 |