From 67a795b5d582f2dd51aa9a495e0bf31a88037eec Mon Sep 17 00:00:00 2001 From: Arthur Prevot Date: Mon, 17 Jun 2024 00:26:02 +0200 Subject: [PATCH] fix test to ignore --- .github/workflows/pythonapp.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index de6f456c..f21d6574 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -32,14 +32,15 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pyspark==3.5.0 + # pip install pyspark==3.5.0 pip install -r yaetos/scripts/requirements_base.txt + pip list - name: Add project directory to PYTHONPATH run: echo "PYTHONPATH=${{ env.PYTHONPATH }}:${{ github.workspace }}" >> $GITHUB_ENV - name: Test with pytest run: | pip install pytest==8.2.2 # pb with 8.0.0 - pytest --ignore=yaetos/scripts/ --ignore=tests/jobs/examples/ex4_dependency2_job_test.py + pytest --ignore=yaetos/scripts/ --ignore=tests/jobs/examples/ex4_dependency4_job_test.py # TODO: change pytest cmdline above to "pytest tests/ --extraargs?" and find if extraargs exists that gets test running from work dir (i.e. not changing to 'tests/') - name: Lint with flake8 run: |