Joren/dynamic magic #224
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: 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 | |