Skip to content

Commit

Permalink
fix test to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurprevot committed Jun 16, 2024
1 parent 4a17f7c commit 67a795b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 67a795b

Please sign in to comment.