Skip to content

Unittests for 124d3185a2a34c2db191763fadcfc8c0889fdf71 #35

Unittests for 124d3185a2a34c2db191763fadcfc8c0889fdf71

Unittests for 124d3185a2a34c2db191763fadcfc8c0889fdf71 #35

Workflow file for this run

name: Unittests
run-name: Unittests for ${{ github.sha }}
on: [push]
jobs:
tests:
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version for testing purposes
run: python -c "import sys; print(sys.version)"
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "requirements.txt"
- name: Run unittests with pytest
run: python -m pytest -v
working-directory: ./UnitTests