Skip to content

Merge remote-tracking branch 'origin/develop' into develop #18

Merge remote-tracking branch 'origin/develop' into develop

Merge remote-tracking branch 'origin/develop' into develop #18

Workflow file for this run

name: build
on: [push]
jobs:
build:
name: "nextplot build, lint & test"
runs-on: ubuntu-latest
strategy:
matrix:
# No multiple versions for now (to save on build time)
python-version: ["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 }}
# Install all development dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
# Lint with ruff
- name: lint with ruff
run: ruff check --output-format=github .
# Run the tests with pytest
- name: Test with pytest
run: python -m pytest -v -s