Skip to content

GitHub Workflow for automatic publishing gaarf-js to npm.org on versi… #37

GitHub Workflow for automatic publishing gaarf-js to npm.org on versi…

GitHub Workflow for automatic publishing gaarf-js to npm.org on versi… #37

Workflow file for this run

name: Test gaarf-py
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["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: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f py/requirements.txt ]; then pip install --require-hashes -r py/requirements.txt --no-deps; fi
- name: Test with pytest
run: |
pytest py/tests/unit/*.py