This actions sets up a SWI-Prolog environment for use in workflows.
See action.yml for the action metadata. The optional swi-prolog-branch
input parameter (stable
or devel
; devel
by default) allows selecting the branch. The required swi-prolog-version
input parameter specifies the version to be installed (latest
or version number, e.g. 8.1.15
; default is latest
).
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install SWI-Prolog backend
uses: logtalk-actions/setup-swi-prolog@master
with:
swi-prolog-branch: devel
swi-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 swi
Contributions 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 only supports Linux at this time.