Skip to content

Commit 339977b

Browse files
committed
clean up workflow
1 parent 0195ea8 commit 339977b

File tree

1 file changed

+3
-35
lines changed

1 file changed

+3
-35
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,8 @@ on:
77
- main
88

99
jobs:
10-
check_duplicate_runs:
11-
name: Check for duplicate runs
12-
continue-on-error: true
13-
runs-on: ubuntu-latest
14-
outputs:
15-
should_skip: ${{ steps.skip_check.outputs.should_skip }}
16-
steps:
17-
- id: skip_check
18-
uses: fkirc/skip-duplicate-actions@master
19-
with:
20-
concurrent_skipping: always
21-
cancel_others: true
22-
skip_after_successful_duplicate: true
23-
paths_ignore: '["**/README.md", "**/CHANGELOG.md", "**/LICENSE.md"]'
24-
do_not_skip: '["pull_request"]'
25-
2610
tests:
2711
name: Run tests (Python ${{matrix.python}})
28-
needs: check_duplicate_runs
29-
if: ${{ needs.check_duplicate_runs.outputs.should_skip != 'true' }}
3012

3113
strategy:
3214
matrix:
@@ -39,25 +21,11 @@ jobs:
3921

4022
runs-on: ubuntu-latest
4123

42-
steps:
4324
- name: Checkout
44-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
4526

46-
- name: Set up Python
47-
uses: actions/setup-python@v2
48-
with:
49-
python-version: ${{ matrix.python }}
50-
51-
- name: Cache pip
52-
uses: actions/cache@v2
53-
with:
54-
path: ~/.cache/pip
55-
key: ${{ runner.os }}-python-${{ matrix.python }}-pip-${{ hashFiles('**/requirements*.txt') }}
56-
restore-keys: |
57-
${{ runner.os }}-python-${{ matrix.python }}-pip-${{ hashFiles('**/requirements*.txt') }}
58-
${{ runner.os }}-python-${{ matrix.python }}-pip-
59-
${{ runner.os }}-python
60-
${{ runner.os }}-
27+
- name: Base Setup
28+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
6129

6230
- name: Install dependencies
6331
run: |

0 commit comments

Comments
 (0)