Skip to content

Update github checkout and setup-python actions in pythontest.yml #140

Update github checkout and setup-python actions in pythontest.yml

Update github checkout and setup-python actions in pythontest.yml #140

Workflow file for this run

name: Unit tests
on:
push:
branches:
- '*'
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --user numpy scipy layermesh
pip install --user .
- name: Unit tests
run: |
cd tests
python -m unittest discover -v