Bump urllib3 from 2.0.2 to 2.0.7 #408
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: Tests & Coverage | |
on: | |
push: | |
branches: | |
- '**' | |
- '!master' # excludes master | |
tags-ignore: | |
- '*.*' | |
pull_request: {} | |
jobs: | |
build: | |
name: Test (${{ matrix.python-version }}, ${{ matrix.os }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ 'macos-latest', 'windows-latest' ] | |
python-version: ["3.11", "3.10", "3.9", "3.8"] | |
include: | |
- os: ubuntu-latest | |
python-version: "3.8" | |
codecov: true | |
- os: ubuntu-latest | |
python-version: "3.9" | |
- os: ubuntu-latest | |
python-version: "3.10" | |
- os: ubuntu-latest | |
python-version: "3.11" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 🛑 Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: ⬇️ Checkout | |
uses: actions/checkout@v3 | |
- name: 🌍 Install conda environment from pydna_test_environment.yml | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: pydna_test_environment.yml | |
create-args: python=${{ matrix.python-version }} | |
cache-downloads: true | |
cache-environment: true | |
- name: 🐍 micromamba info | |
shell: bash -l {0} | |
run: micromamba info | |
- name: 🐍 micromamba list | |
shell: bash -l {0} | |
run: micromamba list | |
- name: 🔩 Set version | |
shell: bash -l {0} | |
run: poetry dynamic-versioning | |
- name: 🔩 Install from source | |
shell: bash -l {0} | |
run: pip install --editable . --no-deps | |
- name: 🔎 python run_test.py | |
shell: bash -l {0} | |
run: python run_test.py | |
- name: 🔼 Upload coverage to Codecov | |
if: (matrix.codecov) | |
uses: codecov/[email protected] | |
with: | |
file: ./coverage.xml | |
token: ${{ secrets.CODECOV_TOKEN }} | |
env_vars: OS,PYTHON | |
name: codecov-umbrella | |
fail_ci_if_error: true |