Skip to content

Merge branch 'main' of https://github.com/TI-Toolkit/tivars_lib_py #199

Merge branch 'main' of https://github.com/TI-Toolkit/tivars_lib_py

Merge branch 'main' of https://github.com/TI-Toolkit/tivars_lib_py #199

Workflow file for this run

name: Python package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout lib with submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pillow
pip install numpy
- name: Test with unittest
run: |
python -m unittest tests