Skip to content

Commit

Permalink
don't export rye path as it isn't needed now
Browse files Browse the repository at this point in the history
  • Loading branch information
this-josh committed Sep 19, 2024
1 parent fd09d30 commit 2fbf936
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,18 @@ jobs:
uses: eifinger/setup-rye@v4
- name: Set up Python ${{ matrix.python-version }} with Rye
run: |
export PATH="$HOME/.rye/bin:$PATH"
rye pin python ${{ matrix.python-version }}
- name: Install dependencies with Rye
run: |
export PATH="$HOME/.rye/bin:$PATH"
rye sync --dev
- name: Lint with flake8
run: |
export PATH="$HOME/.rye/bin:$PATH"
# stop the build if there are Python syntax errors or undefined names
rye run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
rye run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest and create report
run: |
export PATH="$HOME/.rye/bin:$PATH"
rye run coverage run -m pytest
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
Expand Down

0 comments on commit 2fbf936

Please sign in to comment.