Release v1.0.1 #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .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 |