-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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 | ||
|