Skip to content

Only validate new files #2

Only validate new files

Only validate new files #2

Workflow file for this run

name: Python Unit Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies in Python 3.11
run: |
python3.11 -m pip install --upgrade pip
python3.11 -m pip install -r requirements.txt
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies in Python 3.12
run: |
python3.12 -m pip install --upgrade pip
python3.12 -m pip install -r requirements.txt
- name: Run tests
run: |
python3.11 -m unittest *.py
python3.12 -m unittest *.py