Skip to content

update actions

update actions #154

Workflow file for this run

name: notebooks
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
# This is the version of the action for setting up Python, not the Python version.
uses: actions/setup-python@v4
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.x'
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: cd tests && python -m pip install -r test_req.txt
- name: Install pystokes
run: python setup.py install
- name: Test example notebooks
run: cd tests && python test_notebooks.py