Allow much of harmony to be used with non-org github repos #1311
Workflow file for this run
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
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: '0 1 * * *' | |
jobs: | |
stable-idris: | |
runs-on: ubuntu-latest | |
container: mattpolzin2/idris-docker:latest | |
steps: | |
- name: Install Dependencies | |
run: apt-get update && apt-get -y install git | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
shell: bash | |
run: | | |
echo '' | |
echo 'Building with Idris 2 version:' | |
idris2 --version | |
echo '' | |
make | |
- name: Check Executable | |
run: | | |
./harmony help > output.txt | |
git diff --no-index -- test/expected_help.txt output.txt | |
# - name: Test | |
# run: make test | |
nightly-idris: | |
runs-on: ubuntu-latest | |
container: mattpolzin2/idris-docker:nightly | |
steps: | |
- name: Install Dependencies | |
run: apt-get update && apt-get -y install git | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
shell: bash | |
run: | | |
echo '' | |
echo 'Building with Idris 2 version:' | |
idris2 --version | |
echo '' | |
make | |
- name: Check Executable | |
run: | | |
./harmony help > output.txt | |
git diff --no-index -- test/expected_help.txt output.txt | |
# - name: Test | |
# run: make test | |