Skip to content

Commit d3bb11b

Browse files
authored
infra: update CI infrastructure settings
The CI was only running on the main, but we now added a develop branch The CI was not using the latest Node.JS version
2 parents 15ce2e1 + 1b040b2 commit d3bb11b

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: build
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, develop]
66
paths-ignore:
77
- "docs/"
88
- "**.md"
99
pull_request:
10-
branches: [main]
10+
branches: [main, develop]
1111
paths-ignore:
1212
- "docs/"
1313
- "**.md"
@@ -22,10 +22,10 @@ jobs:
2222

2323
matrix:
2424
# Run the pipeline on all the currently supported OS versions
25-
os: [ubuntu-latest, windows-latest, macos-latest]
25+
os: [ubuntu-latest]
2626

2727
# Run the pipeline on all the currently supported LTS versions and the upcoming version
28-
node-version: [10, 12, 14, 16]
28+
node-version: [18, 19]
2929

3030
# Run the pipeline on all the currently supported architectures
3131
architecture: [x64]

test/graph/SolidityCFGFactory.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ contract MetaCoin {
4646
const cfg = factory.convertAST(ast);
4747
expect(cfg.edges.length === 12);
4848
expect(cfg.nodes.length === 11);
49-
console.log(cfg);
49+
// console.log(cfg);
5050

5151
// drawGraph(cfg, "./temp/graph.svg");
5252
// expect(statement != null);

test/testcase/AddressStatement.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ describe("AddressStatement", () => {
1515
await guessCWD(null);
1616
await setupOptions("", []);
1717
await loadConfig();
18-
await processConfig({}, "");
18+
await processConfig({
19+
"target_root_directory": ""
20+
}, "");
1921
await setupLogger();
2022
});
2123

test/testcase/primitive/String.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ describe("StringStatement", () => {
1616
await guessCWD(null);
1717
await setupOptions("", []);
1818
await loadConfig();
19-
await processConfig({}, "");
19+
await processConfig({
20+
"target_root_directory": ""
21+
}, "");
2022
await setupLogger();
2123
});
2224

0 commit comments

Comments
 (0)