Skip to content

impr (hql): parser refactor, nested for loop type checking, tidying repo #296

impr (hql): parser refactor, nested for loop type checking, tidying repo

impr (hql): parser refactor, nested for loop type checking, tidying repo #296

Workflow file for this run

name: HQL Tests
on:
pull_request:
branches: [ main, dev ]
jobs:
hql-tests:
runs-on: ubuntu-latest # 8 vCPUs, 32 GB RAM
strategy:
matrix:
batch: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
permissions:
contents: read
issues: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: x86_64-unknown-linux-gnu
override: true
- name: Cache cargo registry
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Make run.sh executable
run: chmod +x ./hql-tests/run.sh
- name: Run HQL tests
working-directory: ./hql-tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_OWNER: ${{ github.repository_owner }}
GITHUB_REPO: ${{ github.event.repository.name }}
run: ./run.sh batch 10 ${{ matrix.batch }}