Skip to content

Joren/dynamic magic #224

Joren/dynamic magic

Joren/dynamic magic #224

Workflow file for this run

name: lit-tests
on:
push:
branches: [ "main" ]
pull_request:
workflow_dispatch:
inputs:
container-tag:
description: 'Container tag'
required: true
default: 'main'
permissions:
contents: read
jobs:
python-tests:
runs-on: ubuntu-latest
container:
image: ghcr.io/kuleuven-micas/snax-mlir:${{ github.event.inputs.container-tag || 'main' }}
steps:
- uses: actions/checkout@v3
- name: Install modules
shell: bash
run: |
/opt/python3.11/bin/python3 -m pip install -e .
- name: Reinstall pip modules from requirements
shell: bash
run: |
/opt/python3.11/bin/python3 -m pip install -r requirements.txt
- name: Test with lit
shell: bash
run: |
export PATH=/opt/python3.11/bin:$PATH
/opt/python3.11/bin/lit tests/filecheck -v