Bump urllib3 from 1.26.15 to 1.26.17 #604
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
# Based off https://github.com/Electrostatics/mmcif_pdbx/blob/master/.github/workflows/python-package.yml | |
# Also credit to https://github.com/commitizen-tools/commitizen/tree/master/.github/workflows | |
# Coverage only required for pytest | |
# We don't need these checks in both python versions | |
name: Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] | |
test-section: [dependencies, format, pytest, type-checking] | |
exclude: # See https://github.community/t/improve-matrix-exclusion-feature/16340 | |
- {test-section: dependencies, python-version: '3.7'} | |
- {test-section: dependencies, python-version: '3.8'} | |
- {test-section: dependencies, python-version: '3.9'} | |
- {test-section: dependencies, python-version: '3.10'} | |
- {test-section: format, python-version: '3.7'} | |
- {test-section: format, python-version: '3.8'} | |
- {test-section: format, python-version: '3.9'} | |
- {test-section: format, python-version: '3.10'} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip poetry | |
poetry --version | |
poetry install | |
- name: Test ${{ matrix.test-section }} | |
run: make ${{ matrix.test-section }} | |
- name: Upload coverage to Codecov | |
if: matrix.test-section == 'pytest' | |
uses: codecov/[email protected] | |
with: | |
file: ./coverage.xml | |
flags: unittests |