Skip to content

Commit

Permalink
fix python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taishi-i committed Jul 31, 2023
1 parent 88c5727 commit fa8b74b
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, 3.10, 3.11]
python-version: [3.9]

steps:
- uses: actions/checkout@v3
Expand All @@ -24,23 +24,23 @@ jobs:
run: |
pytest
build-tokenizers:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.10, 3.11]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .[all_tokenizers]
- name: Test with pytest
run: |
pytest
# build-tokenizers:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: [3.7, 3.8, 3.9, 3.10, 3.11]
#
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v3
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install pytest
# pip install .[all_tokenizers]
# - name: Test with pytest
# run: |
# pytest

0 comments on commit fa8b74b

Please sign in to comment.