Skip to content

Commit

Permalink
combine workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ydshieh committed Feb 28, 2024
1 parent ac5861f commit fd696a6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/test_model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,17 @@ jobs:
- name: Echo 4
shell: bash
run: |
ls -la /usr/local/lib/python3.10/dist-packages/transformers/examples/pytorch
ls -la /usr/local/lib/python3.10/dist-packages/transformers
- name: Echo 5
shell: bash
run: |
python -c 'import os; import sys; SRC_DIRS = [os.path.join("/usr/local/lib/python3.10/dist-packages/transformers/examples/pytorch", dirname) for dirname in ["image-classification"]]; sys.path.extend(SRC_DIRS); import run_image_classification'
# - name: Echo 4
# shell: bash
# run: |
# ls -la /usr/local/lib/python3.10/dist-packages/transformers/examples/pytorch
#
# - name: Echo 5
# shell: bash
# run: |
# python -c 'import os; import sys; SRC_DIRS = [os.path.join("/usr/local/lib/python3.10/dist-packages/transformers/examples/pytorch", dirname) for dirname in ["image-classification"]]; sys.path.extend(SRC_DIRS); import run_image_classification'

- name: run tests
run: |
Expand Down

0 comments on commit fd696a6

Please sign in to comment.