Skip to content

Commit

Permalink
Update version and pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
grvodolagin committed Dec 19, 2022
1 parent 4b0e651 commit 0b92259
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,29 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: marian-code/python-lint-annotate@v3
- name: Checkout repo & prepearing
uses: actions/checkout@v1

- name: Set up Python environment
uses: actions/setup-python@v3
with:
python-root-list: "tests/*.py"
extra-pycodestyle-options: "--max-line-length=88"
use-pylint: true
python-version: "3.8"
- name: Install pylint
run: |
pip install pylint pylint_junit
- name: Run pylint
run: |
pylint --output-format=text,pylint_junit.JUnitReporter:lint_result.xml mlops_utilities/
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
check_name: JUnit Lint Test Report
report_paths: 'lint_result.xml'

test:
unittest:
runs-on: ubuntu-latest
steps:
- name: Checkout repo & prepearing
Expand All @@ -44,4 +55,5 @@ jobs:
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
check_name: JUnit Unit Test Report
report_paths: 'report.xml'
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[MASTER]
load-plugins=pylint_junit
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mlops-utilities"
version = "0.1.7"
version = "0.2.0"
description = ""
authors = ["Provectus Team <mlops@provectus.com>"]
readme = "README.md"
Expand Down

0 comments on commit 0b92259

Please sign in to comment.