Pydantic v2 migration #7864
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: python | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
'**' | |
paths-ignore: | |
- 'docs/**' | |
- 'blogs/**' | |
merge_group: | |
branches: [ master ] | |
schedule: | |
- cron: "0 0 * * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
unit-tests: | |
strategy: | |
matrix: | |
pyVersion: ["3.7", "3.8", "3.9", "3.10"] | |
fail-fast: false | |
runs-on: ubuntu-20.04 | |
container: | |
image: deepspeed/gh-builder:py${{ matrix.pyVersion }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: environment | |
run: | | |
which python | |
python --version | |
- name: Install deepspeed | |
run: | | |
pip3 install . | |
- name: DS Report | |
run: | | |
ds_report |