Skip to content

Commit 6b5e939

Browse files
Release version 0.2.0
2 parents d69bad4 + 11c32e8 commit 6b5e939

File tree

72 files changed

+1452
-866
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1452
-866
lines changed

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ syntest/
88
.*
99
*.json
1010
*.md
11+
12+
13+
# Since the javascript files have a lot of eslint errors that will be fixed by refactoring to typescript we ignore them for now.
14+
src/**/*.js

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Default owners (unless a later match takes precedence).
2+
# They will be requested for review when someone opens a pull request.
3+
* @syntest-framework/approvers

.github/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#exemptLabels:
99
# - pinned
1010
# - security
11-
11+
1212
# Label to use when marking an issue as stale
1313
#staleLabel: stale
1414

@@ -17,6 +17,6 @@
1717
# This issue has been automatically marked as stale because it has not had
1818
# recent activity. The resources of our team are limited. This issue will
1919
# be closed if no further activity occurs.
20-
20+
2121
# Comment to post when closing a stale issue. Set to `false` to disable
2222
#closeComment: false

.github/workflows/build.yml

Lines changed: 5 additions & 29 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,24 +22,17 @@ 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]
3232

3333
steps:
3434
# Cloning
3535
- uses: actions/checkout@v2
36-
with:
37-
repository: "syntest-framework/syntest-framework"
38-
token: ${{ secrets.SYNTEST_CI }}
39-
path: syntest-framework
40-
- uses: actions/checkout@v2
41-
with:
42-
path: syntest-solidity
4336

4437
# Setup
4538
- name: Use Node.js ${{ matrix.node-version }}
@@ -61,31 +54,14 @@ jobs:
6154
${{ runner.os }}-node-
6255
${{ runner.os }}-
6356
64-
# SynTest Framework
65-
- name: Framework - Install Dependencies
66-
run: npm install
67-
working-directory: syntest-framework
68-
- name: Framework - Build framework
69-
run: npm run build
70-
working-directory: syntest-framework
71-
- name: Framework - Link
72-
run: npm link
73-
working-directory: syntest-framework
74-
7557
# Dependencies
7658
- name: Solidity - Install Dependencies
7759
run: npm install
78-
working-directory: syntest-solidity
79-
- name: Solidity - Link Local Framework
80-
run: npm link @syntest/framework
81-
working-directory: syntest-solidity
8260

8361
# Building
84-
- name: Solidity - Build Solidity
62+
- name: Solidity - Build
8563
run: npm run build
86-
working-directory: syntest-solidity
8764

8865
# Testing
8966
- name: Solidity - Run Tests
9067
run: npm test
91-
working-directory: syntest-solidity

.github/workflows/verify.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: verify
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
paths-ignore:
7+
- "docs/"
8+
- "**.md"
9+
pull_request:
10+
branches: [main, develop]
11+
paths-ignore:
12+
- "docs/"
13+
- "**.md"
14+
15+
jobs:
16+
test:
17+
runs-on: ${{ matrix.os }}
18+
19+
strategy:
20+
# Keep running other versions when a job fails
21+
fail-fast: false
22+
23+
matrix:
24+
# Run the pipeline on all the currently supported OS versions
25+
os: [ubuntu-latest]
26+
27+
# Run the pipeline on all the currently supported LTS versions and the upcoming version
28+
node-version: [19]
29+
30+
# Run the pipeline on all the currently supported architectures
31+
architecture: [x64]
32+
33+
steps:
34+
# Cloning
35+
- uses: actions/checkout@v2
36+
37+
# Setup
38+
- name: Use Node.js ${{ matrix.node-version }}
39+
uses: actions/setup-node@v2
40+
with:
41+
node-version: ${{ matrix.node-version }}
42+
architecture: ${{ matrix.architecture }}
43+
44+
# Caching
45+
- name: Get NPM cache directory
46+
id: npm-cache-dir
47+
run: echo "::set-output name=dir::$(npm config get cache)"
48+
- name: Cache Node.js modules
49+
uses: actions/cache@v2
50+
with:
51+
path: ${{ steps.npm-cache-dir.outputs.dir }}
52+
key: ${{ runner.os }}-node-${{ hashFiles('package.json') }}
53+
restore-keys: |
54+
${{ runner.os }}-node-
55+
${{ runner.os }}-
56+
57+
# Dependencies
58+
- name: Solidity - Install Dependencies
59+
run: npm install
60+
61+
# Format
62+
- name: Solidity - Run Formatter
63+
run: npm run format:check
64+
65+
# Linting
66+
- name: Solidity - Run Linter
67+
run: npm run lint

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919

2020
### Security
2121

22+
## [0.2.0] - 2023-01-18
23+
24+
### Added
25+
26+
- Solc compiler version picking through configuration
27+
- Language specific parsing interfaces from the core
28+
2229
## [0.1.2] - 2021-11-29
2330

2431
### Fixed
@@ -42,7 +49,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4249
- Solidity instrumentation
4350
- Solidity specific search criteria (i.e., probe coverage)
4451

45-
[unreleased]: https://github.com/syntest-framework/syntest-solidity/compare/v0.1.2...HEAD
52+
[unreleased]: https://github.com/syntest-framework/syntest-solidity/compare/v0.2.0...HEAD
53+
[0.2.0]: https://github.com/syntest-framework/syntest-solidity/releases/tag/v0.1.2...v0.2.0
4654
[0.1.2]: https://github.com/syntest-framework/syntest-solidity/releases/tag/v0.1.1...v0.1.2
4755
[0.1.1]: https://github.com/syntest-framework/syntest-solidity/releases/tag/v0.1.0...v0.1.1
4856
[0.1.0]: https://github.com/syntest-framework/syntest-solidity/releases/tag/v0.1.0

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SynTest Solidity
2-
Copyright 2020-2021 Delft University of Technology and SynTest contributors
2+
Copyright 2020-2022 Delft University of Technology and SynTest contributors
33

44
This product includes software developed at
55
Delft University of Technology (http://www.tudelft.nl/).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ To be able to make quick changes to the syntest-framework and then test it in th
6565

6666
```bash
6767
cd <PATH_TO_SYNTEST_FRAMEWORK>; npm link
68-
cd <PATH_TO_SYNTEST_SOLIDITY>; npm link @syntest/framework
68+
cd <PATH_TO_SYNTEST_SOLIDITY>; npm link @syntest/core
6969
```
7070

7171
This creates a symbolic link to the local syntest-framework instance in the node modules folder of syntest-solidity.

0 commit comments

Comments
 (0)