From c813d81d41057cbcefda37dff9400283c83b145f Mon Sep 17 00:00:00 2001 From: Nicholas Albion Date: Sat, 9 Sep 2023 11:43:38 +1000 Subject: [PATCH] tests should pass in CI --- .github/workflows/ci.yml | 5 +++-- pilot/logger/__init__.py | 0 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 pilot/logger/__init__.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f051b89..6c47fd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,11 +33,12 @@ jobs: pip install flake8 flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # stop the build if there are Python syntax errors or undefined names - #ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 . + ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 . # default set of ruff rules with GitHub Annotations #ruff --format=github --target-version=py37 . - name: Run tests run: | pip install pytest - pytest + cd pilot + PYTHONPATH=. pytest diff --git a/pilot/logger/__init__.py b/pilot/logger/__init__.py new file mode 100644 index 0000000..e69de29