Skip to content

Commit

Permalink
exp: limit python version
Browse files Browse the repository at this point in the history
  • Loading branch information
christinestraub committed Jul 12, 2024
1 parent 895547a commit e8482c6
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
setup:
strategy:
matrix:
python-version: ["3.9","3.10","3.11", "3.12"]
python-version: ["3.10"]
runs-on: ubuntu-latest
env:
NLTK_DATA: ${{ github.workspace }}/nltk_data
Expand All @@ -30,7 +30,7 @@ jobs:
check-deps:
strategy:
matrix:
python-version: ["3.9","3.10","3.11", "3.12"]
python-version: ["3.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -44,7 +44,7 @@ jobs:
check-extras:
strategy:
matrix:
python-version: [ "3.9","3.10","3.11","3.12" ]
python-version: [ "3.10" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -55,31 +55,31 @@ jobs:
- name: Install all extras
run: make check-extras

check-licenses:
strategy:
matrix:
python-version: [ "3.12" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# NOTE(robinson) - dependencies are installed first because liccheck
# produces an error if there is a a mismatch between the dep version
# in the requirements file and the dep version in site packages
- name: Install all doc and test dependencies
run: |
make install-ci
make install-paddleocr
make install-all-ingest
make check-licenses
# check-licenses:
# strategy:
# matrix:
# python-version: [ "3.12" ]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# # NOTE(robinson) - dependencies are installed first because liccheck
# # produces an error if there is a a mismatch between the dep version
# # in the requirements file and the dep version in site packages
# - name: Install all doc and test dependencies
# run: |
# make install-ci
# make install-paddleocr
# make install-all-ingest
# make check-licenses

lint:
strategy:
matrix:
python-version: ["3.9","3.10","3.11"]
python-version: ["3.10"]
env:
NLTK_DATA: ${{ github.workspace }}/nltk_data
runs-on: ubuntu-latest
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
test_unit:
strategy:
matrix:
python-version: ["3.9"]
python-version: ["3.10"]
runs-on: ubuntu-latest
env:
NLTK_DATA: ${{ github.workspace }}/nltk_data
Expand Down

0 comments on commit e8482c6

Please sign in to comment.