view .github/workflows/runtests.yml @ 46:472a9445eb6a

Try taking the MonetDB container version from a matrix
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Fri, 18 Dec 2020 11:03:46 +0100 (2020-12-18)
parents 03e6ddee4090
children 8d6cfd04bde0
line wrap: on
line source
name: Run monetdb-perl test suite

on:
  push:
  pull_request:
  # monday morning 01:23
  schedule:
    - cron: 23 1 * * 1

jobs:
  runtests:
    strategy:
      matrix:
        monetdb_image:
          - monetdb/monetdb:latest
          - monetdb/monetdb:Jun2020-SP1
    runs-on: ubuntu-latest
    env:
      DBI_DSN: dbi:monetdb:database=demo

    services:
      monetdb:
        image: ${{monetdb_image}}
        ports:
          - 50000:50000

    steps:

      - uses: actions/checkout@v2

      - name: Install libdbi-perl
        run: |
          set -x -e
          sudo apt-get -qq update
          sudo apt-get -qq install -y libdbi-perl

      - name: Run Unit-Tests
        run: |
          set -x -e
          ./runtests.sh