Skip to content

Bump pydantic from 1.10.12 to 2.8.2 #193

Bump pydantic from 1.10.12 to 2.8.2

Bump pydantic from 1.10.12 to 2.8.2 #193

Workflow file for this run

name: Test Python Package
env:
python_version: 3.8.12
on:
push:
branches:
- master
paths:
- cortex_xdr_client/**
- poetry.lock
- pyproject.toml
- .github/workflows/python-test.yml
pull_request:
paths:
- cortex_xdr_client/**
- poetry.lock
- pyproject.toml
- .github/workflows/python-test.yml
jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v2
-
name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ env.python_version }}
-
name: Install poetry
run: |
python -m ensurepip
python -m pip install --upgrade pip
python -m pip install poetry
-
name: Install dependencies
run: |
python -m poetry install
-
name: Run tests
run: |
python -m poetry run python -m pytest -v tests