Skip to content

Commit

Permalink
Update github workflows (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix authored Apr 24, 2024
1 parent 5b90bd7 commit 8180375
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev_test_bettertransformer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- 3.8
os:
- ubuntu-20.04
- macos-latest
- macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -35,4 +35,4 @@ jobs:
- name: Test with unittest
working-directory: tests
run: |
python -m unittest discover -s bettertransformer -p test_*.py
python -m unittest discover -s bettertransformer -p test_*.py
4 changes: 2 additions & 2 deletions .github/workflows/dev_test_dummy_inputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- 3.9
os:
- ubuntu-20.04
- macos-latest
- macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -35,4 +35,4 @@ jobs:
- name: Test with unittest
working-directory: tests
run: |
python -m unittest discover -s utils -p test_*.py
python -m unittest discover -s utils -p test_*.py
4 changes: 2 additions & 2 deletions .github/workflows/dev_test_fx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- 3.9
os:
- ubuntu-20.04
- macos-latest
- macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -35,4 +35,4 @@ jobs:
- name: Test with unittest
working-directory: tests
run: |
python -m pytest fx/optimization/test_transformations.py --exitfirst
python -m pytest fx/optimization/test_transformations.py --exitfirst
4 changes: 2 additions & 2 deletions .github/workflows/dev_test_onnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- 3.9
os:
- ubuntu-20.04
- macos-latest
- macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -34,4 +34,4 @@ jobs:
- name: Test with unittest
working-directory: tests
run: |
python -m unittest discover -s onnx -p test_*.py
python -m unittest discover -s onnx -p test_*.py
4 changes: 2 additions & 2 deletions .github/workflows/dev_test_onnxruntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
os:
- ubuntu-20.04
- windows-2019
- macos-latest
- macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -36,4 +36,4 @@ jobs:
working-directory: tests
run: |
python -m pytest -n auto -m "not run_in_series" onnxruntime
python -m pytest -m "run_in_series" onnxruntime
python -m pytest -m "run_in_series" onnxruntime
4 changes: 2 additions & 2 deletions .github/workflows/dev_test_optimum_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
os:
- ubuntu-20.04
- windows-2019
- macos-latest
- macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -42,4 +42,4 @@ jobs:
as the staging tests cannot run in parallel.
export HUGGINGFACE_CO_STAGING=${{ matrix.python-version == 3.8 && matrix.os
== ubuntu-20.04 }}
python -m unittest discover -s tests -p test_*.py
python -m unittest discover -s tests -p test_*.py
2 changes: 1 addition & 1 deletion .github/workflows/test_bettertransformer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-20.04, macos-latest]
os: [ubuntu-20.04, macos-13]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-20.04, macos-latest]
os: [ubuntu-20.04, macos-13]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_dummy_inputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-20.04, macos-latest]
os: [ubuntu-20.04, macos-13]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_fx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-20.04, macos-latest]
os: [ubuntu-20.04, macos-13]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_onnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-20.04, macos-latest]
os: [ubuntu-20.04, macos-13]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_onnxruntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-20.04, windows-2019, macos-latest]
os: [ubuntu-20.04, windows-2019, macos-13]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_optimum_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-20.04, windows-2019, macos-latest]
os: [ubuntu-20.04, windows-2019, macos-13]

runs-on: ${{ matrix.os }}
steps:
Expand Down

0 comments on commit 8180375

Please sign in to comment.