Skip to content

Commit

Permalink
FIX: typo workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ldevillez committed May 11, 2024
1 parent 3f0fd0d commit 00b3d91
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:
#fetch_depth: 0

- name: Install python
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
uses: actions/setup-python@v3
with:
python-version: 3.x


- run: pip install --upgrade pip
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
- run: pip install .
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
- run: pip install pylint==2.16.*
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
- run: pylint --rcfile=pylintrc ${{ steps.changed-python.outputs.all_changed_python }}
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
#fetch_depth: 0
- name: List all changed files markdown files
env:
BOOL: ${{ steps.changed-python.test_any_changed }}
BOOL: ${{ steps.changed-python.any_changed }}
ALL_CHANGED_FILES: ${{ steps.changed-python.outputs.all_changed_files }}
run: |
echo "${BOOL} was changed"
Expand All @@ -29,30 +29,30 @@ jobs:
done
- name: Set up Python all python version
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
uses: actions/setup-python@v3
with:
python-version: 3.10

- name: Install dependencies
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
run: sudo apt-get install libgirepository1.0-dev

- run: pip install --upgrade pip
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
- run: pip install .
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'

- name: Run Test
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
run: coverage run -m unittest

- name: Create coverage xml
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
run: coverage xml coverage.xml

- name: Get Cover
if: steps.changed-python.outputs.test_any_changed == 'true'
if: steps.changed-python.outputs.any_changed == 'true'
uses: orgoro/[email protected]
with:
coverageFile: coverage.xml
Expand Down

0 comments on commit 00b3d91

Please sign in to comment.