Skip to content

Commit

Permalink
Merge pull request #196 from MindSetLib/dev
Browse files Browse the repository at this point in the history
Update Actions Workflow
  • Loading branch information
alexmindset authored May 7, 2024
2 parents da9d7d4 + a68434d commit 5eb6f6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/insolver-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install libomp for lightgbm (macOS)
Expand All @@ -44,12 +44,12 @@ jobs:
- name: Lint with ruff
shell: bash
run: |
ruff . --select=E9,F63,F7,F82 --show-source
ruff . --exit-zero --statistics
ruff check . --select=E9,F63,F7,F82 --show-source
ruff check . --exit-zero --statistics
- name: Test with pytest
shell: bash
run: |
python -m pytest --cov=./ --cov-report=xml
python -m pytest --cov=insolver --cov-report xml
- name: Code coverage with codecov on (ubuntu-latest & Python 3.10 & master)
if: |
(matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' && github.ref == 'refs/heads/master')
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ exclude = [

line-length = 120

dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

target-version = "py310"

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
"insolver/serving/django_insolver/apps/drf_serving/*" = ["F401", "F403", "F405"]

0 comments on commit 5eb6f6b

Please sign in to comment.