Skip to content

[License] Add license header and contribution guide #4

[License] Add license header and contribution guide

[License] Add license header and contribution guide #4

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
tests:
if: github.repository == 'hidet-org/tilus'
continue-on-error: true
strategy:
matrix:
runner:
- group: "arc-l4"
- yaoyao-workstation
runs-on: ${{ matrix.runner }}
container:
image: nvidia/cuda:12.6.2-devel-ubuntu22.04
options: --gpus all
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup and Install Tilus
id: setup-and-install
uses: ./.github/actions/setup-environment
with:
python-version: '3.10'
- name: Run tests
run: pytest ./tests
- name: Run examples
run: |
bash .github/workflows/scripts/run-examples.sh