Skip to content

Updating tests so that they are faster. #6

Updating tests so that they are faster.

Updating tests so that they are faster. #6

Workflow file for this run

name: tests
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: neuroinformatics-unit/actions/lint@main
test:
needs: [linting]
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
python-version: "3.11"
- os: macos-latest
python-version: "3.10"
- os: windows-latest
python-version: "3.9"
- os: ubuntu-latest
python-version: "3.8"
steps:
- uses: actions/checkout@v4
# - uses: neuroinformatics-unit/actions/test@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Test
run: pytest