Skip to content

Merge pull request #15 from cakiki/patch-1 #56

Merge pull request #15 from cakiki/patch-1

Merge pull request #15 from cakiki/patch-1 #56

Workflow file for this run

name: MNIST1D tests
on: [push]
jobs:
build: #building the library locally
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dev version locally
run: python -m pip install '.[dev]'
- name: test dev version locally
run: python -m pytest .
- name: install notebooks
run: python -m pip install notebook jupyter
- name: run minimal example notebooks
run: jupyter nbconvert --execute --to html "notebooks/mnist1d-pip.ipynb"
install: #installing the library as if one would not want to git-clone it
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dev version locally
run: python -m pip install git+https://github.com/greydanus/mnist1d.git@master