Change paper link #48
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
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 | |