Skip to content

Commit cbae0c5

Browse files
committed
build: enable code-quality job in workflows
1 parent cc555e1 commit cbae0c5

File tree

1 file changed

+13
-39
lines changed

1 file changed

+13
-39
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 13 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -79,49 +79,23 @@ jobs:
7979
github_token: ${{ secrets.GITHUB_TOKEN }}
8080
junit_files: ./**/test-results.xml
8181

82-
# code-quality:
83-
# runs-on: ubuntu-latest
84-
85-
# steps:
86-
# - uses: actions/checkout@v3
87-
88-
# - name: setup python environment
89-
# id: setup-python
90-
# uses: actions/setup-python@v4
91-
# with:
92-
# python-version: "3.8"
93-
94-
# - name: install Poetry
95-
# uses: snok/install-poetry@v1
96-
# with:
97-
# virtualenvs-create: true
98-
# virtualenvs-in-project: true
99-
100-
# - name: Load cached venv
101-
# id: cached-poetry-dependencies
102-
# uses: actions/cache@v3
103-
# with:
104-
# path: .venv
105-
# key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
106-
107-
# - name: Install dependencies
108-
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
109-
# run: poetry install --no-interaction --no-root
110-
111-
# - name: install robotcode
112-
# run: poetry install --no-interaction
82+
code-quality:
83+
runs-on: ubuntu-latest
11384

114-
# - run: poetry run isort --check --diff .
115-
# if: always()
85+
steps:
86+
- uses: actions/checkout@v3
11687

117-
# - run: poetry run black --check --diff .
118-
# if: always()
88+
- name: setup python environment
89+
id: setup-python
90+
uses: actions/setup-python@v4
91+
with:
92+
python-version: "3.8"
11993

120-
# - run: poetry run flake8 .
121-
# if: always()
94+
- run: hatch run lint:style
95+
if: always()
12296

123-
# - run: poetry run mypy .
124-
# if: always()
97+
- run: hatch run lint:typing
98+
if: always()
12599

126100
# package:
127101
# needs: [code-quality, test]

0 commit comments

Comments
 (0)