Skip to content

Bump urllib3 from 2.2.1 to 2.2.2 #59

Bump urllib3 from 2.2.1 to 2.2.2

Bump urllib3 from 2.2.1 to 2.2.2 #59

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4.1.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install --with dev,test
- name: Run linters
run: poetry run flake8 --config=.config/linter.toml
- name: Test with pytest
run: |
poetry run pytest --cov=sharepp --cov-report xml tests/
- name: Publishing coverage data
if: github.actor != 'dependabot[bot]'
run: |
export CODACY_PROJECT_TOKEN=${{ secrets.CODACY_PROJECT_API }}
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml