Skip to content

Commit

Permalink
Check other steps
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <jamiehalebc@gmail.com>
  • Loading branch information
jamshale committed Nov 10, 2023
1 parent 08c65f2 commit 32dfa82
Showing 1 changed file with 27 additions and 30 deletions.
57 changes: 27 additions & 30 deletions .github/workflows/pr-linting-and-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,33 +59,30 @@ jobs:
id: install-dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
echo ${{ steps.changed-plugins.outputs.changed-plugins }}
# for dir in ${{ steps.changed-plugins.changed-plugins }}; do
# cd $dir
# poetry install --no-interaction --no-root
# cd ..
# done
# #----------------------------------------------
# # Lint plugins
# #----------------------------------------------
# - name: Lint plugins
# id: lint-plugins
# run: |
# for dir in ${{ steps.changed-plugins.changed-plugins }}; do
# cd $dir
# poetry run ruff check .
# cd ..
# done
# #----------------------------------------------
# # Unit tests
# #----------------------------------------------
# - name: Unit test plugins
# id: unit-tests
# run: |
# for dir in ${{ steps.changed-plugins.changed-plugins }}; do
# cd $dir
# poetry run pytest
# cd ..
# done
for dir in ${{ steps.changed-plugins.outputs.changed-plugins }}; do
cd $dir
poetry install --no-interaction --no-root
cd ..
done
#----------------------------------------------
# Lint plugins
#----------------------------------------------
- name: Lint plugins
id: lint-plugins
run: |
for dir in ${{ steps.changed-plugins.outputs.changed-plugins }}; do
cd $dir
poetry run ruff check .
cd ..
done
#----------------------------------------------
# Unit tests
#----------------------------------------------
- name: Unit test plugins
id: unit-tests
run: |
for dir in ${{ steps.changed-plugins.outputs.changed-plugins }}; do
cd $dir
poetry run pytest
cd ..
done

0 comments on commit 32dfa82

Please sign in to comment.