Skip to content

Commit

Permalink
FIX: typo condition workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ldevillez committed May 11, 2024
1 parent 518e4bc commit 099c0a1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:
uses: tj-actions/changed-files@v44
with:
files: "**/*.py"
fetch_depth: 0
#fetch_depth: 0

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


- run: pip install --upgrade pip
if: steps.changed-files.output.any_changed == 'true'
if: steps.changed-files..outputs.test_any_changed == 'true'
- run: pip install .
if: steps.changed-files.output.any_changed == 'true'
if: steps.changed-files..outputs.test_any_changed == 'true'
- run: pip install pylint==2.16.*
if: steps.changed-files.output.any_changed == 'true'
if: steps.changed-files..outputs.test_any_changed == 'true'
- run: pylint --rcfile=pylintrc ${{ steps.changed-files.outputs.all_changed_files }}
if: steps.changed-files.output.any_changed == 'true'
if: steps.changed-files..outputs.test_any_changed == 'true'
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@ jobs:
#fetch_depth: 0

- name: Set up Python all python version
if: steps.changed-files.output.any_changed == 'true'
if: steps.changed-files..outputs.test_any_changed == 'true'
uses: actions/setup-python@v3
with:
python-version: 3.9

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

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

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

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

- name: Get Cover
if: steps.changed-files.output.any_changed == 'true'
if: steps.changed-files..outputs.test_any_changed == 'true'
uses: orgoro/[email protected]
with:
coverageFile: coverage.xml
Expand Down
3 changes: 3 additions & 0 deletions svg2tikz/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
"""
Export main functions from SVG2tikz to be easily accessible from the package
"""
from .tikz_export import convert_file, convert_svg

0 comments on commit 099c0a1

Please sign in to comment.