Skip to content

Release v1.0.1

Release v1.0.1 #33

Workflow file for this run

# .github/workflows/python-tests.yml
name: Utils Unit-Testing Python package
on: [pull_request]
jobs:
test:
name: Utils Unit-Testing (Python ${{ matrix.python-version }})
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/utils_requirements.txt') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager -r .github/workflows/utils_requirements.txt
- name: Run tests
run: |
pytest --junitxml=report.xml