Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 38 additions & 38 deletions .github/workflows/hql_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,50 @@ name: HQL Tests

on:
pull_request:
branches: [ main, dev ]
branches: [main, dev]

jobs:
hql-tests:
runs-on: ubuntu-latest # 8 vCPUs, 32 GB RAM
runs-on: ubuntu-latest # 8 vCPUs, 32 GB RAM
strategy:
matrix:
batch: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
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
continue-on-error: true
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') || 'fallback' }}
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 }}
- 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
continue-on-error: true
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') || 'fallback' }}
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 }}
Loading
Loading