[#611] Add support for pydantic 2.x #2
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
# TODO(#617): Delete this file | |
name: Run tests with pydantic 1.10 | |
on: | |
push: | |
branches: [release] | |
pull_request: | |
branches: [ release, dev ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install sslyze dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
python -m pip install -e . | |
- name: Install pydantic 1.10 | |
run: python -m pip install "pydantic<2" | |
- name: Install dev dependencies | |
run: python -m pip install -r requirements-dev.txt | |
- name: Run tests | |
run: python -m invoke test |