Skip to content

Commit a49c36b

Browse files
author
Release Manager
committed
gh-36497: lint.yml: Always run all 3 linters <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> Fixes #36467 (comment) <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36497 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
2 parents ca7de64 + d60aa74 commit a49c36b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ jobs:
3333
python-version: 3.9
3434

3535
- name: Install dependencies
36-
run: pip install tox pycodestyle relint
36+
id: deps
37+
run: pip install tox
3738

3839
- name: Code style check with pycodestyle
40+
if: always() && steps.deps.outcome == 'success'
3941
run: tox -e pycodestyle-minimal
4042

4143
- name: Code style check with relint
44+
if: always() && steps.deps.outcome == 'success'
4245
run: tox -e relint -- src/sage/
4346

4447
- name: Validate docstring markup as RST
48+
if: always() && steps.deps.outcome == 'success'
4549
run: tox -e rst

0 commit comments

Comments
 (0)