annotate .github/workflows/runtests.yml @ 55:94f4232ebfcb

Remove the scheduled GitHub action because it does not work
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Mon, 17 Oct 2022 09:42:14 +0200 (2022-10-17)
parents 8d6cfd04bde0
children
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
42
4f7a4ee307ba More workflow triggers
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 40
diff changeset
3 on:
4f7a4ee307ba More workflow triggers
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 40
diff changeset
4 push:
4f7a4ee307ba More workflow triggers
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 40
diff changeset
5 pull_request:
30
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
6
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
7 jobs:
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
8 runtests:
46
472a9445eb6a Try taking the MonetDB container version from a matrix
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 45
diff changeset
9 strategy:
472a9445eb6a Try taking the MonetDB container version from a matrix
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 45
diff changeset
10 matrix:
472a9445eb6a Try taking the MonetDB container version from a matrix
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 45
diff changeset
11 monetdb_image:
472a9445eb6a Try taking the MonetDB container version from a matrix
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 45
diff changeset
12 - monetdb/monetdb:latest
472a9445eb6a Try taking the MonetDB container version from a matrix
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 45
diff changeset
13 - monetdb/monetdb:Jun2020-SP1
30
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
14 runs-on: ubuntu-latest
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
15 env:
44
b35ed8684036 Run monetdb in a service container
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 42
diff changeset
16 DBI_DSN: dbi:monetdb:database=demo
b35ed8684036 Run monetdb in a service container
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 42
diff changeset
17
b35ed8684036 Run monetdb in a service container
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 42
diff changeset
18 services:
b35ed8684036 Run monetdb in a service container
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 42
diff changeset
19 monetdb:
47
8d6cfd04bde0 Syntax refinement
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 46
diff changeset
20 image: ${{ matrix.monetdb_image }}
44
b35ed8684036 Run monetdb in a service container
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 42
diff changeset
21 ports:
b35ed8684036 Run monetdb in a service container
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 42
diff changeset
22 - 50000:50000
30
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
23
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
24 steps:
44
b35ed8684036 Run monetdb in a service container
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 42
diff changeset
25
42
4f7a4ee307ba More workflow triggers
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 40
diff changeset
26 - uses: actions/checkout@v2
30
2ac3451a49d5 Add GitHub workflow
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
27
45
03e6ddee4090 Still need DBI
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 44
diff changeset
28 - name: Install libdbi-perl
03e6ddee4090 Still need DBI
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 44
diff changeset
29 run: |
03e6ddee4090 Still need DBI
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 44
diff changeset
30 set -x -e
03e6ddee4090 Still need DBI
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 44
diff changeset
31 sudo apt-get -qq update
03e6ddee4090 Still need DBI
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 44
diff changeset
32 sudo apt-get -qq install -y libdbi-perl
03e6ddee4090 Still need DBI
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 44
diff changeset
33
42
4f7a4ee307ba More workflow triggers
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 40
diff changeset
34 - name: Run Unit-Tests
4f7a4ee307ba More workflow triggers
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 40
diff changeset
35 run: |
36
81d45b439e58 .editorconfig keeps messing up my yaml
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 35
diff changeset
36 set -x -e
37
c436b5131196 Also run the tests
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents: 36
diff changeset
37 ./runtests.sh