Skip to content

[DO NOT REVIEW] Switch to submission validate #19

[DO NOT REVIEW] Switch to submission validate

[DO NOT REVIEW] Switch to submission validate #19

Workflow file for this run

name: Python Test
on:
pull_request:
paths:
# Only the submission module currently provides unit tests
- 'scripts/src/submission/*'
jobs:
enforce:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.x Part 1
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up Python 3.x Part 2
run: |
# set up python
python3 -m venv ve1
cd scripts
../ve1/bin/pip3 install -r requirements.txt
../ve1/bin/pip3 install .
cd ..
- name: Run pytest
run: |
./ve1/bin/pytest scripts/src/submission/