Skip to content

Commit

Permalink
Don't use scripts in install-examples.sh to not use scripts.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 550546021
Change-Id: I80d7ab2bf53d56ca0c39f1f6958af89e77cb996b
  • Loading branch information
jagapiou authored and Copybara-Service committed Jul 24, 2023
1 parent 5cf8272 commit cb76ec5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

# Declare default permissions as read only.
permissions: read-all

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pytype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

# Declare default permissions as read only.
permissions: read-all

jobs:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

# Declare default permissions as read only.
permissions: read-all

jobs:
Expand All @@ -42,15 +41,18 @@ jobs:
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435
with:
python-version: '3.10'
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install setuptools pytest-xdist
- name: Install Melting Pot
run: |
./install-meltingpot.sh
pip -vvv install .
pip list
- name: Install examples
working-directory: examples
run: |
./install.sh
pip install -r examples/requirements.txt
pip list
- name: Test examples
working-directory: examples
run: ./test.sh
run: pytest examples
1 change: 0 additions & 1 deletion .github/workflows/test-meltingpot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

# Declare default permissions as read only.
permissions: read-all

jobs:
Expand Down

0 comments on commit cb76ec5

Please sign in to comment.