Skip to content

Commit 3ef12f1

Browse files
committed
Renamed "master" to "main"
1 parent eb808db commit 3ef12f1

File tree

3 files changed

+35
-30
lines changed

3 files changed

+35
-30
lines changed

.github/workflows/broken-links.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
on:
1+
'on':
22
push:
3-
branches: master
3+
branches: main
44
schedule:
5-
- cron: "0 16 * * *"
5+
- cron: 0 16 * * *
66
name: broken links?
77
jobs:
88
linkChecker:
@@ -13,6 +13,6 @@ jobs:
1313
id: lc
1414
uses: peter-evans/link-checker@v1.2.2
1515
with:
16-
args: -v -r *.md
16+
args: '-v -r *.md'
1717
- name: Fail?
18-
run: exit ${{ steps.lc.outputs.exit_code }}
18+
run: 'exit ${{ steps.lc.outputs.exit_code }}'

.github/workflows/sonar.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Sonar
22
'on':
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request_target:
77
types:
88
- opened
@@ -36,4 +36,3 @@ jobs:
3636
env:
3737
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
3838
SONAR_TOKEN: '${{ secrets.SONAR_TOKEN }}'
39-

.github/workflows/test.yml

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,39 @@
11
name: Build & Test
2-
3-
on:
2+
'on':
43
push:
5-
branches: [ master ]
4+
branches:
5+
- main
66
pull_request:
7-
types: [opened, synchronize, reopened]
7+
types:
8+
- opened
9+
- synchronize
10+
- reopened
811
schedule:
9-
- cron: "0 16 * * *"
10-
12+
- cron: 0 16 * * *
1113
jobs:
1214
build:
1315
runs-on: ubuntu-latest
1416
strategy:
1517
matrix:
16-
python-version: [3.6, 3.7, 3.8, 3.9]
18+
python-version:
19+
- 3.6
20+
- 3.7
21+
- 3.8
22+
- 3.9
1723
steps:
18-
- uses: actions/checkout@v2
19-
with:
20-
fetch-depth: 0
21-
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v2
23-
with:
24-
python-version: ${{ matrix.python-version }}
25-
- name: Install dependencies
26-
run: |
27-
pip3 install -r requirements.txt
28-
pip3 install .
29-
pip3 install coverage
30-
- name: Run Tests
31-
run: |
32-
coverage run setup.py test
33-
coverage xml
24+
- uses: actions/checkout@v2
25+
with:
26+
fetch-depth: 0
27+
- name: 'Set up Python ${{ matrix.python-version }}'
28+
uses: actions/setup-python@v2
29+
with:
30+
python-version: '${{ matrix.python-version }}'
31+
- name: Install dependencies
32+
run: |
33+
pip3 install -r requirements.txt
34+
pip3 install .
35+
pip3 install coverage
36+
- name: Run Tests
37+
run: |
38+
coverage run setup.py test
39+
coverage xml

0 commit comments

Comments
 (0)