Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Oct 28, 2024
1 parent f72f2bd commit 1be3967
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test_onnxruntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:
matrix:
transformers-version: ["latest"]
os: [ubuntu-20.04, windows-2019, macos-13]
include:
os: ubuntu-20.04
transformers-version: "4.36.*"
os: ubuntu-20.04
transformers-version: "4.45.*"

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -41,7 +36,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: 3.9

- name: Install dependencies
run: |
Expand All @@ -50,7 +45,7 @@ jobs:
pip install .[tests,onnxruntime]
- name: Install transformers ${{ matrix.transformers-version }}
if: ${{ matrix.transformers-version != 'latest' }} # already installed
if: ${{ matrix.transformers-version != 'latest' }}
run: pip install transformers==${{ matrix.transformers-version }}

- name: Test with pytest (in series)
Expand Down

0 comments on commit 1be3967

Please sign in to comment.