Skip to content

Test with different python versions. #7

Test with different python versions.

Test with different python versions. #7

Workflow file for this run

name: Pytest
on:
push:
branches: [ "main", "test" ]
pull_request:
branches: [ "main", "test" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest numpy scipy matplotlib
- name: Print current directory
run: pwd
- name: List files
run: ls -R
- name: Test the code with pytest
run: |
pytest