view .github/workflows/runtests.yml @ 40:fb47602ecf72

Lack of local testing is really annoying
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Thu, 17 Dec 2020 14:23:11 +0100 (2020-12-17)
parents d70e15f7be41
children 4f7a4ee307ba
line wrap: on
line source
name: Run monetdb-perl test suite

on: [push]

jobs:
  runtests:
    runs-on: ubuntu-latest
    env:
      DBFARM: /var/lib/monetdb

    steps:
    - uses: actions/checkout@v2

    - name: Install MonetDB
      run: |
          set -x -e
          lsb_release -c -s
          sudo apt-get -qq update
          sudo apt-get -qq install -y software-properties-common curl make libdbi-perl
          curl -s https://www.monetdb.org/downloads/MonetDB-GPG-KEY | sudo apt-key add -
          sudo add-apt-repository "deb http://dev.monetdb.org/downloads/deb/ $(lsb_release -c -s) monetdb"
          sudo apt-get -qq update
          sudo apt-get -qq install -qqy monetdb5-server

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