Skip to content

Commit

Permalink
Don't install ruff in the baseline container
Browse files Browse the repository at this point in the history
ruff does not support python 3.6 anymore (and we should probably drop it
here as well), so only check that the tests still pass with the minimum
python version rather than also running the linters. Any problems they
find should be discovered by the other jobs.
  • Loading branch information
arichardson committed Apr 20, 2024
1 parent 3dc2010 commit debbb9b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ jobs:
run: |
# Run as a non-root user to avoid cheribuild errors
adduser --disabled-password --gecos "Not Root" notroot
su -c "python -m pip install --user --upgrade pip" notroot
su -c "pip install --user -r requirements.txt" notroot
- name: Lint with flake8
run: |
# stop the build if there are any flake8 warnings
su -c "python -m flake8" notroot
su -c "python -m pip install --user --upgrade pip pytest" notroot
- name: Run basic regression tests
run: su -c "tests/run_basic_tests.sh" notroot
build-macos:
Expand Down

0 comments on commit debbb9b

Please sign in to comment.