Skip to content

Commit

Permalink
Try another method
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <jamiehalebc@gmail.com>
  • Loading branch information
jamshale committed Nov 11, 2023
1 parent 78d568f commit 838b9ea
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
42 changes: 20 additions & 22 deletions .github/workflows/pr-linting-and-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,29 +68,27 @@ jobs:
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
# #----------------------------------------------
# # 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import sys
sys.path.append('.')

0 comments on commit 838b9ea

Please sign in to comment.