Skip to content

Commit 0081feb

Browse files
committed
simplify CI
1 parent 2961154 commit 0081feb

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,9 @@ name: Continuous Integration
44
on: push
55

66
jobs:
7-
test:
8-
name: ${{ matrix.task }}
7+
lint:
8+
name: lint
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Checkout repository
12-
uses: actions/checkout@v2
13-
- name: Set up Python
14-
uses: conda-incubator/setup-miniconda@v2
15-
with:
16-
python-version: 3.10
17-
- name: linting
18-
if: matrix.task == 'linting'
19-
shell: bash
20-
run: |
21-
pip install --upgrade black flake8 isort nbqa
22-
conda install -c conda-forge shellcheck
23-
make lint
24-
all-successful:
25-
# https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
26-
runs-on: ubuntu-latest
27-
needs: [test]
28-
steps:
29-
- name: Note that all tests succeeded
30-
run: echo "🎉"
11+
- uses: actions/checkout@v4
12+
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)