Browse Source

ci: workaround false positive parse error

https://github.com/fphammerle/ical2vdir/runs/429355652
Fabian Peter Hammerle 4 years ago
parent
commit
4352da062f
1 changed files with 4 additions and 1 deletions
  1. 4 1
      .github/workflows/python.yml

+ 4 - 1
.github/workflows/python.yml

@@ -33,6 +33,9 @@ jobs:
     - run: pipenv graph
     - run: pipenv run pylint ical2vdir
     # https://github.com/PyCQA/pylint/issues/352
-    - run: pipenv run pylint --disable=missing-requirement tests/*
+    # disable parse-error due to:
+    # > tests/resources/__init__.py:1:0: F0010: error while code parsing: Unable to load file tests/resources/__init__.py:
+    # > [Errno 2] No such file or directory: 'tests/resources/__init__.py' (parse-error)
+    - run: pipenv run pylint --disable=missing-requirement --disable=parse-error tests/*
     - run: pipenv run pytest --cov=ical2vdir --cov-report=term-missing --cov-fail-under=100
     - run: pipenv run black --check .