-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from pmoura/add_testing_workflow_for_pull_requests
Add testing workflow for pull requests
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Testing | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
testing: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install SWI-Prolog backend | ||
uses: logtalk-actions/setup-swi-prolog@master | ||
with: | ||
swipl-branch: stable | ||
swipl-version: latest | ||
- name: Install Logtalk | ||
uses: logtalk-actions/setup-logtalk@master | ||
with: | ||
logtalk-version: latest | ||
logtalk-tool-dependencies: false | ||
- name: Checkout Logtalk application to be tested | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 1 | ||
- name: Run the application tests | ||
run: logtalk_tester |