Skip to content

Commit 6d43e17

Browse files
committed
Refactor GitHub Actions workflow to remove linting job
Summary: - Removed the linting job from the `test.yml` workflow, streamlining the CI process. - Retained the test execution step to ensure that tests are still run as part of the CI pipeline. This change simplifies the workflow configuration, focusing on test execution while eliminating the linting steps that were previously included.
1 parent 556ed57 commit 6d43e17

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -73,42 +73,4 @@ jobs:
7373
TEST_TYPE: ${{ github.event.inputs.test-type || 'all' }}
7474
COVERAGE: ${{ github.event.inputs.coverage || 'false' }}
7575
run: |
76-
bash .ci/run-tests.sh
77-
78-
lint:
79-
runs-on: ubuntu-latest
80-
steps:
81-
- uses: actions/checkout@v4
82-
83-
- name: Set up Python 3.11
84-
uses: actions/setup-python@v4
85-
with:
86-
python-version: "3.11"
87-
88-
- name: Install linting dependencies
89-
run: |
90-
python -m pip install --upgrade pip
91-
pip install ruff black isort mypy
92-
93-
- name: Install project dependencies
94-
run: |
95-
pip install -e ".[test]"
96-
97-
- name: Run ruff (linter)
98-
run: |
99-
ruff check tritonparse/
100-
ruff check tests/
101-
102-
- name: Run black (code formatter)
103-
run: |
104-
black --check tritonparse/
105-
black --check tests/
106-
107-
- name: Run isort (import sorter)
108-
run: |
109-
isort --check-only tritonparse/
110-
isort --check-only tests/
111-
112-
- name: Run mypy (type checker)
113-
run: |
114-
mypy tritonparse/ --ignore-missing-imports
76+
bash .ci/run-tests.sh

0 commit comments

Comments
 (0)