File tree Expand file tree Collapse file tree 7 files changed +33
-128
lines changed Expand file tree Collapse file tree 7 files changed +33
-128
lines changed Original file line number Diff line number Diff line change 1
- name : Daily
1
+ name : Base Tests
2
2
3
3
on :
4
4
push :
7
7
pull_request :
8
8
workflow_call :
9
9
inputs :
10
- nim-branch :
11
- description : ' Nim branch'
12
- required : true
13
- type : string
14
- cpu :
15
- description : ' CPU'
16
- required : true
10
+ include :
11
+ description : ' Include matrix configurations'
12
+ required : false
17
13
type : string
14
+ default : " []"
18
15
exclude :
19
16
description : ' Exclude matrix configurations'
20
17
required : false
@@ -26,13 +23,13 @@ concurrency:
26
23
cancel-in-progress : true
27
24
28
25
jobs :
29
- delete-cache :
26
+ delete_cache :
30
27
runs-on : ubuntu-latest
31
28
steps :
32
29
- uses : snnaplab/delete-branch-cache-action@v1
33
30
34
31
test :
35
- needs : delete-cache
32
+ needs : delete_cache
36
33
timeout-minutes : 90
37
34
strategy :
38
35
fail-fast : false
@@ -54,13 +51,10 @@ jobs:
54
51
builder : windows-2019
55
52
cpu : amd64
56
53
shell : msys2 {0}
57
- # - os: windows
58
- # builder: windows-2019
59
- # cpu: i386
60
- # shell: msys2 {0}
61
54
nim-branch :
62
55
- version-1-6
63
56
- version-2-0
57
+ include : ${{ fromJSON(inputs.include) }}
64
58
exclude : ${{ fromJSON(inputs.exclude) }}
65
59
66
60
defaults :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Codecov
1
+ name : Coverage
2
2
3
3
on :
4
- # On push to common branches, this computes the "bases stats" for PRs
4
+ # On push to common branches, this computes the coverage PRs will compared against
5
5
push :
6
6
branches :
7
7
- master
@@ -15,7 +15,8 @@ concurrency:
15
15
cancel-in-progress : true
16
16
17
17
jobs :
18
- coverage :
18
+ codecov :
19
+ # Improvement: Split single job into run tests, generate coverage, and upload to codecov.
19
20
name : Run coverage and upload to codecov
20
21
runs-on : ubuntu-20.04
21
22
env :
Original file line number Diff line number Diff line change 5
5
workflow_dispatch :
6
6
7
7
jobs :
8
- call-multi-nim-common :
8
+ test_amd64 :
9
9
name : Daily amd64
10
- uses : ./.github/workflows/base_daily .yml
10
+ uses : ./.github/workflows/base_tests .yml
11
11
with :
12
- nim-branch : " ['version-1-6','version-2-0']"
13
- cpu : " ['amd64']"
12
+ exclude : " [{'platform': {'cpu': 'amd64'}}]"
14
13
15
- call-multi-nim-common :
14
+ test_i386 :
16
15
name : Daily i386
17
- uses : ./.github/workflows/base_daily .yml
16
+ uses : ./.github/workflows/base_tests .yml
18
17
with :
19
- nim-branch : " ['version-1-6','version-2-0', 'devel']"
20
- cpu : " ['i386']"
21
- exclude : " [{'platform': {'os':'macos'}}, {'platform': {'os':'windows'}}]"
18
+ exclude : " [{'platform': {'cpu': 'i386'}}]"
22
19
23
- call-multi-nim-common :
24
- name : Daily Nim Devel
25
- uses : ./.github/workflows/base_daily .yml
20
+ test_nim_devel :
21
+ name : Daily
22
+ uses : ./.github/workflows/base_tests .yml
26
23
with :
27
- nim-branch : " ['devel']"
28
- cpu : " [' amd64']"
24
+ include : " [{' nim-branch': ['devel']} ]"
25
+ exclude : " [{'platform': {'os': 'linux', 'cpu': ' amd64'}} ]"
Original file line number Diff line number Diff line change 1
- name : Dependency Bumper
1
+ name : Update this project's version where it servers as a dependency
2
2
on :
3
3
push :
4
4
branches :
5
5
- master
6
6
workflow_dispatch :
7
7
8
8
jobs :
9
- bumpProjects :
9
+ update_version :
10
+ # Is this job necessary?
10
11
runs-on : ubuntu-latest
11
- name : Bump version on ${{ matrix.target.repo }}:${{ matrix.target.branch }}
12
+ name : Updating version on ${{ matrix.target.repo }}:${{ matrix.target.branch }}
12
13
strategy :
13
14
fail-fast : false
14
15
matrix :
35
36
git checkout $GITHUB_SHA
36
37
37
38
- name : Commit this bump
39
+ # Is it mandatory to create a new commit? Or does it exist as a way to communicate why the version was updated.
38
40
run : |
39
41
cd nbc
40
42
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
Original file line number Diff line number Diff line change 1
- name : Docgen
1
+ name : Documentation generation and publishing
2
2
on :
3
3
push :
4
+ branches :
5
+ - master
4
6
workflow_dispatch :
5
7
6
8
Original file line number Diff line number Diff line change 1
- name : Interoperability Testing
1
+ name : Interoperability Tests
2
2
on :
3
3
pull_request :
4
4
push :
5
5
branches :
6
- - unstable
6
+ - master
7
7
workflow_dispatch :
8
8
9
9
concurrency :
You can’t perform that action at this time.
0 commit comments