Skip to content

Commit

Permalink
Merge pull request #9 from SecretSaturn/test-fixes
Browse files Browse the repository at this point in the history
Trimming down and fixing tests
  • Loading branch information
SecretSaturn authored Sep 10, 2024
2 parents b2d2caf + ff78260 commit a21d6ca
Show file tree
Hide file tree
Showing 25 changed files with 508 additions and 783 deletions.
11 changes: 0 additions & 11 deletions .github/actions/install-rust/NOTICE

This file was deleted.

19 changes: 0 additions & 19 deletions .github/actions/install-rust/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions .github/actions/install-rust/action.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/actions/install-rust/main.js

This file was deleted.

110 changes: 0 additions & 110 deletions .github/workflows/Deploy.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/EthDeploy.yml

This file was deleted.

20 changes: 16 additions & 4 deletions .github/workflows/Foundry_tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
name: Foundry Tests

on:
workflow_dispatch:
push:
branches:
- main
paths:
- "TNLS-Gateways/public-gateway/**"
- ".github/workflows/Foundry_tests.yml"
pull_request:
branches:
- main
paths:
- 'public-gateway/**'
- "TNLS-Gateways/public-gateway/**"
- ".github/workflows/Foundry_tests.yml"

jobs:
tests:
Expand All @@ -19,12 +30,13 @@ jobs:
version: nightly

- name: Install forge dependencies
working-directory: ./public-gateway
working-directory: TNLS-Gateways/public-gateway
run: forge install

- name: Run tests
working-directory: ./public-gateway
working-directory: TNLS-Gateways/public-gateway
run: forge test -vvv

- name: Check gas snapshots
run: forge snapshot --check
working-directory: TNLS-Gateways/public-gateway
run: forge snapshot --check --tolerance 1
66 changes: 0 additions & 66 deletions .github/workflows/Python_tests.yml

This file was deleted.

Loading

0 comments on commit a21d6ca

Please sign in to comment.