Skip to content

Commit 922661d

Browse files
committed
Default to develop branch for tests
1 parent 3760da2 commit 922661d

10 files changed

Lines changed: 40 additions & 16 deletions

File tree

.github/workflows/full-pipeline-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ name: Full-pipeline self-test
1212
on:
1313
workflow_dispatch:
1414
inputs:
15+
srcml_repo:
16+
description: "srcML repository to build from (owner/repo — supports forks)"
17+
required: false
18+
default: "srcML/srcML"
1519
srcml_ref:
1620
description: "srcML git ref to build (tag, branch, or SHA)"
1721
required: false
18-
default: "v1.1.0"
22+
default: "develop"
1923
fail_on_regression:
2024
description: "Fail the workflow if the regression test reports failures"
2125
required: false
@@ -40,7 +44,7 @@ jobs:
4044
- name: Checkout srcML source
4145
uses: actions/checkout@v4
4246
with:
43-
repository: srcML/srcML
47+
repository: ${{ inputs.srcml_repo }}
4448
ref: ${{ inputs.srcml_ref }}
4549
path: srcML
4650

.github/workflows/regression-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ concurrency:
8282
env:
8383
# hardcoded so cross-repo `gh release download` works regardless of caller.
8484
# update if this repo is transferred to a different org.
85-
BASELINE_REPO: ${{ github.repository_owner }}/srcMLLargeSystemTests
85+
BASELINE_REPO: ${{ github.repository_owner }}/srcMLLargeSystems
8686

8787
jobs:
8888
test:

.github/workflows/test-c.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ name: Test — C
1111
on:
1212
workflow_dispatch:
1313
inputs:
14+
srcml_repo:
15+
description: "srcML repository to build from (owner/repo — supports forks)"
16+
required: false
17+
default: "srcML/srcML"
1418
srcml_ref:
1519
description: "srcML git ref to build (tag, branch, or SHA)"
1620
required: false
17-
default: "v1.1.0"
21+
default: "develop"
1822
fail_on_regression:
1923
description: "Fail the workflow if the regression test reports failures"
2024
required: false
@@ -39,7 +43,7 @@ jobs:
3943
- name: Checkout srcML source
4044
uses: actions/checkout@v4
4145
with:
42-
repository: srcML/srcML
46+
repository: ${{ inputs.srcml_repo }}
4347
ref: ${{ inputs.srcml_ref }}
4448
path: srcML
4549

.github/workflows/test-cpp.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ name: Test — C++
1111
on:
1212
workflow_dispatch:
1313
inputs:
14+
srcml_repo:
15+
description: "srcML repository to build from (owner/repo — supports forks)"
16+
required: false
17+
default: "srcML/srcML"
1418
srcml_ref:
1519
description: "srcML git ref to build (tag, branch, or SHA)"
1620
required: false
17-
default: "v1.1.0"
21+
default: "develop"
1822
fail_on_regression:
1923
description: "Fail the workflow if the regression test reports failures"
2024
required: false
@@ -39,7 +43,7 @@ jobs:
3943
- name: Checkout srcML source
4044
uses: actions/checkout@v4
4145
with:
42-
repository: srcML/srcML
46+
repository: ${{ inputs.srcml_repo }}
4347
ref: ${{ inputs.srcml_ref }}
4448
path: srcML
4549

.github/workflows/test-csharp.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ name: Test — C#
1111
on:
1212
workflow_dispatch:
1313
inputs:
14+
srcml_repo:
15+
description: "srcML repository to build from (owner/repo — supports forks)"
16+
required: false
17+
default: "srcML/srcML"
1418
srcml_ref:
1519
description: "srcML git ref to build (tag, branch, or SHA)"
1620
required: false
17-
default: "v1.1.0"
21+
default: "develop"
1822
fail_on_regression:
1923
description: "Fail the workflow if the regression test reports failures"
2024
required: false
@@ -39,7 +43,7 @@ jobs:
3943
- name: Checkout srcML source
4044
uses: actions/checkout@v4
4145
with:
42-
repository: srcML/srcML
46+
repository: ${{ inputs.srcml_repo }}
4347
ref: ${{ inputs.srcml_ref }}
4448
path: srcML
4549

.github/workflows/test-java.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ name: Test — Java
1111
on:
1212
workflow_dispatch:
1313
inputs:
14+
srcml_repo:
15+
description: "srcML repository to build from (owner/repo — supports forks)"
16+
required: false
17+
default: "srcML/srcML"
1418
srcml_ref:
1519
description: "srcML git ref to build (tag, branch, or SHA)"
1620
required: false
17-
default: "v1.1.0"
21+
default: "develop"
1822
fail_on_regression:
1923
description: "Fail the workflow if the regression test reports failures"
2024
required: false
@@ -39,7 +43,7 @@ jobs:
3943
- name: Checkout srcML source
4044
uses: actions/checkout@v4
4145
with:
42-
repository: srcML/srcML
46+
repository: ${{ inputs.srcml_repo }}
4347
ref: ${{ inputs.srcml_ref }}
4448
path: srcML
4549

.github/workflows/test-python.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ name: Test — Python
1111
on:
1212
workflow_dispatch:
1313
inputs:
14+
srcml_repo:
15+
description: "srcML repository to build from (owner/repo — supports forks)"
16+
required: false
17+
default: "srcML/srcML"
1418
srcml_ref:
1519
description: "srcML git ref to build (tag, branch, or SHA)"
1620
required: false
17-
default: "v1.1.0"
21+
default: "develop"
1822
fail_on_regression:
1923
description: "Fail the workflow if the regression test reports failures"
2024
required: false
@@ -39,7 +43,7 @@ jobs:
3943
- name: Checkout srcML source
4044
uses: actions/checkout@v4
4145
with:
42-
repository: srcML/srcML
46+
repository: ${{ inputs.srcml_repo }}
4347
ref: ${{ inputs.srcml_ref }}
4448
path: srcML
4549

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# srcMLLargeSystemTests
1+
# srcMLLargeSystems
22

33
Regression testing for [srcML](https://www.srcml.org/) against large real-world codebases across C, C++, C#, Java, and Python.
44

docs/consuming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- { language: csharp, project: roslyn }
6767
- { language: java, project: jdk }
6868
- { language: python, project: django }
69-
uses: <OWNER>/srcMLLargeSystemTests/.github/workflows/regression-test.yml@mainline
69+
uses: <OWNER>/srcMLLargeSystems/.github/workflows/regression-test.yml@mainline
7070
with:
7171
srcml-installer-artifact-name: srcml-installer
7272
language: ${{ matrix.target.language }}

examples/caller-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- { language: csharp, project: roslyn }
5858
- { language: java, project: jdk }
5959
- { language: python, project: django }
60-
uses: <OWNER>/srcMLLargeSystemTests/.github/workflows/regression-test.yml@mainline
60+
uses: <OWNER>/srcMLLargeSystems/.github/workflows/regression-test.yml@mainline
6161
with:
6262
srcml-installer-artifact-name: srcml-installer
6363
language: ${{ matrix.target.language }}

0 commit comments

Comments
 (0)