Mercurial > hg > monetdb-perl
annotate runtests.sh @ 44:b35ed8684036
Run monetdb in a service container
So we can later test against multiple versions of MonetDB
by taking the image name from a matrix
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Fri, 18 Dec 2020 10:53:15 +0100 (2020-12-18) |
parents | 5b27d21cf817 |
children |
rev | line source |
---|---|
29
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
1 #!/bin/bash |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
2 |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
3 set -e -x |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
4 |
44
b35ed8684036
Run monetdb in a service container
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
41
diff
changeset
|
5 export DBI_DSN=dbi:monetdb:database=demo |
29
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
6 |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
7 export PERL5LIB=$PWD/MonetDB-CLI-MapiPP:$PWD/MonetDB-CLI:$PWD |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
8 |
37
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
9 for i in DBD MonetDB-CLI/MonetDB MonetDB-CLI-MapiPP/MonetDB/CLI |
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
10 do |
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
11 ( |
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
12 cd $i |
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
13 perl Makefile.PL |
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
14 make |
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
15 ) |
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
16 done |
c436b5131196
Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
29
diff
changeset
|
17 |
29
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
18 make -C DBD test |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
19 : |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
20 make -C MonetDB-CLI/MonetDB test |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
21 : |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
22 make -C MonetDB-CLI-MapiPP/MonetDB/CLI test |
a8bdee6b0128
Add two shell scripts for use in GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff
changeset
|
23 : |