name: Tests

on: [push]

jobs:
  tests:

    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v1
      with:
        submodules: 'true'
    - name: build tests and run
      run: |
        cd tests
        mkdir build && cd build
        cmake ..
        make
        cd ../
        ./build/tests -s

name: Tests

on: [push]

jobs:
  tests:

    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v1
      with:
        submodules: 'true'
    - name: build tests and run
      env:
        CC: gcc-9
        CXX: g++-9    
      run: |
        cd tests
        mkdir build && cd build
        cmake ..
        make
        cd ../
        ./build/tests -s

Test if adding env variables will seletc gcc9
Test if adding env variables will seletc gcc9
