Skip to content

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2 #33

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2 #33

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install -r requirements.txt
- name: Code style
run: |
pre-commit run --all-files
- name: Pytest
run: |
pytest
- name: Build & Install test
run: |
python -m build
pip install dist/pycountries-*.tar.gz