Skip to content

Commit

Permalink
Revert "Run pytest in CI only in PRs that update either sources or …
Browse files Browse the repository at this point in the history
…tests (ami-iit#80)"

This reverts commit 217f743.
  • Loading branch information
flferretti committed Feb 27, 2024
1 parent 345cc6c commit c3d9e40
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,32 +99,15 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
src: &src
- 'src/**'
tests: &tests
- 'tests/**'
src_and_tests:
- *src
- *tests

- name: Install Gazebo Classic
if: |
contains(matrix.os, 'ubuntu') &&
(github.event_name != 'pull_request' ||
steps.changes.outputs.src_and_tests == 'true')
if: contains(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install gazebo
- name: Run the Python tests
if: |
contains(matrix.os, 'ubuntu') &&
(github.event_name != 'pull_request' ||
steps.changes.outputs.src_and_tests == 'true')
if: contains(matrix.os, 'ubuntu')
run: pytest
env:
JAX_PLATFORM_NAME: cpu
Expand Down

0 comments on commit c3d9e40

Please sign in to comment.