This actions sets up a GNU Prolog environment for use in workflows.
See action.yml for the action metadata. The required gnu-prolog-version input parameter specifies the version to be installed (latest or version number, e.g. 1.4.5; default is latest).
on: push
jobs:
  test:
    runs-on: macOS-latest
    steps:
      - name: Install GNU Prolog backend
        uses: logtalk-actions/setup-gnu-prolog@master
        with:
          gnu-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 gnuContributions 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. When using Ubuntu, be sure to use version 20.04 or later as the GNU Prolog package available for 18.04 is broken.