Merge remote-tracking branch 'origin/develop' into develop #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |