This actions sets up a Trealla Prolog environment for use in workflows.
See action.yml for the action metadata. The optional trealla-prolog-branch input parameter (master or devel; devel by default) allows selecting the branch. The required trealla-prolog-version input parameter specifies the version to be installed (latest or tag, e.g. v1.4.7; default is latest).
on: push
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Install Trealla Prolog backend
        uses: logtalk-actions/setup-trealla-prolog@master
        with:
          trealla-prolog-branch: devel
          trealla-prolog-version: latest
      - name: Install Logtalk
        uses: logtalk-actions/setup-logtalk@master
        with:
          logtalk-version: latest
      - name: Checkout Logtalk application to be tested
        uses: actions/checkout@v1
      - name: Run all tests in the application directory
        run: logtalk_tester -p treallaContributions are most welcome. Contributors are expected to uphold the code of conduct.
This project is released under the Apache License 2.0.
This action is in active development. This action does not support Windows at this time.