name: test
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: ./
      with:
        modname: mtt
        enable_coverage: "true"
        enable_benchmarks: true
        git_dependencies: |
          https://github.com/BuckarooBanzay/promise
          https://github.com/OgelGames/fakelib
        additional_config: |
          mtt_enable_selftest = true
    - name: Coveralls
      uses: coverallsapp/github-action@v1