Skip to content

Commit c5798e8

Browse files
Update tests.yml
remove extra test requirements for non existant files
1 parent 53f7c97 commit c5798e8

File tree

1 file changed

+3
-71
lines changed

1 file changed

+3
-71
lines changed

.github/workflows/tests.yml

+3-71
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ env:
1111
SEPOLIA_RPC: ${{ secrets.SEPOLIA_RPC }}
1212

1313
jobs:
14-
unit-tests:
15-
name: Run Unit Tests
14+
tests:
15+
name: Run Test Files
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
@@ -36,76 +36,8 @@ jobs:
3636

3737
- name: Run tests
3838
shell: bash
39-
run: yarn test:unit
39+
run: yarn test
4040

41-
integration-tests:
42-
name: Run Integration Tests
43-
runs-on: ubuntu-latest
44-
steps:
45-
- uses: actions/checkout@v4
46-
47-
- name: Install Foundry
48-
uses: foundry-rs/foundry-toolchain@v1
49-
with:
50-
version: stable
51-
52-
- name: Use Node.js
53-
uses: actions/setup-node@v4
54-
with:
55-
node-version: 20.x
56-
cache: 'yarn'
57-
58-
- name: Install dependencies
59-
run: yarn --frozen-lockfile --network-concurrency 1
60-
61-
- name: Precompile
62-
run: yarn build
63-
64-
- name: Run tests
65-
run: yarn test:integration
66-
67-
medusa-tests:
68-
name: Medusa Test
69-
runs-on: ubuntu-latest
70-
container: ghcr.io/trailofbits/eth-security-toolbox/ci:nightly-20241223
71-
72-
steps:
73-
- name: Checkout repository
74-
uses: actions/checkout@v4
75-
with:
76-
submodules: recursive
77-
78-
- name: Install dependencies
79-
run: yarn --frozen-lockfile --network-concurrency 1
80-
81-
- name: Run Medusa
82-
run: medusa fuzz --test-limit 200000
83-
84-
halmos-tests:
85-
name: Run symbolic execution tests
86-
runs-on: ubuntu-latest
87-
steps:
88-
- uses: actions/checkout@v4
89-
90-
- name: Install Foundry
91-
uses: foundry-rs/foundry-toolchain@v1
92-
with:
93-
version: stable
94-
95-
- name: Use Node.js
96-
uses: actions/setup-node@v4
97-
with:
98-
node-version: 20.x
99-
cache: 'yarn'
100-
101-
- name: Install dependencies
102-
run: yarn --frozen-lockfile --network-concurrency 1
103-
104-
- name: Precompile
105-
run: yarn build
106-
107-
- name: Run tests
108-
run: yarn test:integration
10941

11042
lint:
11143
name: Lint Commit Messages

0 commit comments

Comments
 (0)