File tree Expand file tree Collapse file tree 3 files changed +35
-30
lines changed Expand file tree Collapse file tree 3 files changed +35
-30
lines changed Original file line number Diff line number Diff line change 1- on :
1+ ' on ' :
22 push :
3- branches : master
3+ branches : main
44 schedule :
5- - cron : " 0 16 * * *"
5+ - cron : 0 16 * * *
66name : broken links?
77jobs :
88 linkChecker :
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 }}'
Original file line number Diff line number Diff 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
3636 env :
3737 GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
3838 SONAR_TOKEN : ' ${{ secrets.SONAR_TOKEN }}'
39-
Original file line number Diff line number Diff line change 11name : 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 * * *
1113jobs :
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
You can’t perform that action at this time.
0 commit comments