Bump urllib3 from 2.0.3 to 2.2.2 #45
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
job: | |
name: Test (Python ${{ matrix.python }}) | |
runs-on: ubuntu-latest | |
env: | |
POETRY_VIRTUALENVS_CREATE: false | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install project dependencies | |
run: | | |
sudo apt-get install gfortran | |
pip install poetry | |
poetry install | |
- name: Test code's formatting (Black) | |
run: black --check ndradex tests | |
- name: Test code's execution (pytest) | |
run: pytest -v tests | |
- name: Test docs' building (Sphinx) | |
run: docs/build |