Paper and readthedocs updates #32
Workflow file for this run
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
on: | |
pull_request: | |
types: [opened, reopened, synchronize, edited] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: unit_test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10','3.11','3.12'] | |
steps: | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install dependencies | |
shell: bash | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install Bottleneck | |
python3 -m pip install --upgrade setuptools | |
cd $GITHUB_WORKSPACE | |
pip install . | |
- name: Run unit tests | |
shell: bash | |
run: | | |
python3 src/griml/test/test.py |