plot_spline_2d(): call plot_vertices_2d() with "ax" #475
Workflow file for this run
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: Run tests | |
on: [push, pull_request] | |
env: | |
PYTEST_ADDOPTS: "--color=yes" | |
PIP_INSTALL: python -m pip install | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.7", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Double-check Python version | |
run: | | |
python --version | |
python -c "import sys; assert sys.version.startswith('${{ matrix.python-version }}.')" | |
- name: Install Python package | |
run: | | |
$PIP_INSTALL . | |
- name: Install test dependencies | |
run: | | |
$PIP_INSTALL -r tests/requirements.txt | |
- name: Run pytest | |
run: | | |
python -m pytest |