Skip to content

Commit 6b6e567

Browse files
Remove test files from codecov (#512)
* checkin codecov stats * change GH action * cleanup * remove tests from codecov * adjust linter rules
1 parent 20df64f commit 6b6e567

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.github/composite-actions/setup/action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ runs:
1414
- name: Install dependencies
1515
shell: bash
1616
run: yarn
17+
18+
- name: Setup lcov
19+
shell: bash
20+
run: |
21+
sudo apt update
22+
sudo apt install -y lcov

.github/workflows/tests.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ jobs:
3838
uses: onbjerg/foundry-toolchain@v1
3939
with:
4040
version: nightly
41-
- name: Run coverage
41+
- name: Run coverage and tests
4242
run: |
4343
forge coverage --report lcov
44-
- name: Run tests
45-
run: |
44+
lcov --remove lcov.info -o lcov.info 'src/test/**'
4645
forge test
4746
- name: Upload coverage reports to Codecov
4847
uses: codecov/codecov-action@v3

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ yarn.lock
4444
# Forge
4545
#/lib
4646
/out
47+
lcov.info
4748

4849
#Build
4950
.swc/

.solhint.json

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"var-name-mixedcase": "error",
1717
"func-visibility": ["error", { "ignoreConstructors": true }],
1818
"not-rely-on-time": "off",
19+
"no-empty-blocks": "off",
20+
"contract-name-camelcase": "off",
21+
"no-inline-assembly": "off",
1922
"prettier/prettier": [
2023
"error",
2124
{

0 commit comments

Comments
 (0)