Skip to content

Commit

Permalink
turn off 0.6 & 0.7 tests (#11132)
Browse files Browse the repository at this point in the history
* turn off 0.6 tests

* reduce splits and mark other tests as sow

* add modification protection

* rm 0.7 tests
  • Loading branch information
RensR authored Nov 10, 2023
1 parent 41025f4 commit 4a6f2fe
Show file tree
Hide file tree
Showing 30 changed files with 27 additions and 16,668 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,29 @@ jobs:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
with:
list-files: "csv"
filters: |
src:
- 'contracts/**/*'
- '.github/workflows/solidity.yml'
- '.github/workflows/solidity-foundry.yml'
old_sol:
- 'contracts/src/v0.4/**/*'
- 'contracts/src/v0.5/**/*'
- 'contracts/src/v0.6/**/*'
- 'contracts/src/v0.7/**/*'
- name: Fail if read-only files have changed
if: ${{ steps.changes.outputs.old_sol == 'true' }}
run: |
echo "One or more read-only Solidity file(s) has changed."
for file in ${{ steps.changes.outputs.old_sol_files }}; do
echo "$file was changed"
done
exit 1
prepublish-test:
needs: [changes]
Expand Down
22 changes: 9 additions & 13 deletions contracts/ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,19 @@
"dir": "cross-version",
"numOfSplits": 1
},
{
"dir": "v0.6",
"numOfSplits": 1
},
{
"dir": "v0.7",
"numOfSplits": 1
},
{
"dir": "v0.8",
"numOfSplits": 8,
"numOfSplits": 6,
"slowTests": [
"Keeper",
"Cron.test",
"CronUpkeep.test",
"Cron",
"CronUpkeep",
"VRFSubscriptionBalanceMonitor",
"EthBalanceMonitor",
"CanaryUpkeep"
"KeeperRegistrar",
"KeeperRegistry1_2",
"KeeperRegistry1_3",
"KeeperRegistry2_0",
"KeeperRegistry2_1"
]
}
]
Expand Down
167 changes: 0 additions & 167 deletions contracts/test/v0.6/AggregatorFacade.test.ts

This file was deleted.

Loading

0 comments on commit 4a6f2fe

Please sign in to comment.