Task 12. Graph Query Language Interpreter #85
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: Run tests | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-tests | |
cancel-in-progress: true | |
jobs: | |
tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v4 | |
- name: Install rye | |
uses: eifinger/setup-rye@v4 | |
with: | |
enable-cache: true | |
- name: Install antlr | |
run: rye tools install antlr4-tools | |
- name: Sync dependencies | |
run: rye sync | |
- name: Make build script executable | |
run: chmod +x scripts/buildParser.sh | |
- name: Build parser | |
run: scripts/./buildParser.sh | |
- name: Run tests | |
run: python scripts/run_tests.py |