Merge pull request #80 from yu-kiat/main #2
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-catnip | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
- name: 'Install Nim' | |
uses: iffy/install-nim@v5 | |
- name: 'Setup Nim' | |
uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: 'stable' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: 'Build Catnip' | |
run: nim debug | |
- name: 'Install Figlet' | |
run: sudo apt-get install figlet | |
- name: 'Run Tests' | |
run: cd tests && ./commandline_args.sh |