Skip to content

Commit f5560b1

Browse files
committed
divide pre-commit.yml
1 parent 0570ead commit f5560b1

2 files changed

Lines changed: 17 additions & 11 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: SpeechBrain pre-commit
2+
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
with:
15+
python-version: '3.8'
16+
- uses: pre-commit/action@v2.0.3

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SpeechBrain lint and unit tests to ease continuous integration
1+
# SpeechBrain unit tests to ease continuous integration
22
# NOTE: Caching these offers no speedup
33
name: SpeechBrain toolkit CI
44

@@ -9,16 +9,6 @@ on: # yamllint disable-line rule:truthy
99
pull_request:
1010

1111
jobs:
12-
linters:
13-
name: Linters
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v2
17-
- uses: actions/setup-python@v2
18-
with:
19-
python-version: '3.8'
20-
- uses: pre-commit/action@v2.0.3
21-
2212
tests:
2313
name: Tests
2414
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)