Skip to content

Commit

Permalink
Merge pull request #724 from jdegenstein/fixlint
Browse files Browse the repository at this point in the history
Fix lint.yml and upgrade actions versions
  • Loading branch information
jdegenstein authored Oct 2, 2024
2 parents 04cf1ef + 6007fe3 commit 5f2d5bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest --cov=build123d
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ name: pylint
on: [push, pull_request]
jobs:
lint:
strategy:
matrix:
python-version: [ "3.10" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
python-version: 3.10
python-version: ${{ matrix.python-version }}

- name: lint
run: pylint --rcfile=.pylintrc --fail-under=9.5 src/build123d

0 comments on commit 5f2d5bc

Please sign in to comment.