This repository has been archived by the owner on Oct 18, 2023. It is now read-only.
forked from erigontech/erigon
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ledgerwatch/devel
Upstream changes
- Loading branch information
Showing
1,081 changed files
with
61,273 additions
and
195,441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,5 @@ | |
**/*.dSYM | ||
|
||
build | ||
tests/testdata | ||
tests/.git | ||
tests | ||
cmd/prometheus | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Integration tests | ||
on: | ||
push: | ||
branches: | ||
- devel | ||
- alpha | ||
- stable | ||
schedule: | ||
- cron: '20 16 * * *' # daily at 16:20 UTC | ||
jobs: | ||
tests: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-20.04, macos-11 ] # list of os: https://github.com/actions/virtual-environments | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: git submodule update --init --recursive --force | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18.x | ||
- name: Install dependencies on Linux | ||
if: runner.os == 'Linux' | ||
run: sudo apt update && sudo apt install build-essential | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/Library/Caches/go-build | ||
~/go/pkg/mod | ||
key: go-${{ matrix.os }}-${{ hashFiles('**/go.sum') }} | ||
restore-keys: go-${{ matrix.os }}- | ||
|
||
- name: test-integration | ||
run: make test-integration | ||
|
||
tests-windows: | ||
strategy: | ||
matrix: | ||
os: [ windows-2022 ] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: git submodule update --init --recursive --force | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18.x | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
C:\ProgramData\chocolatey\lib\mingw | ||
C:\ProgramData\chocolatey\lib\cmake | ||
key: chocolatey-${{ matrix.os }} | ||
- name: Install dependencies | ||
run: | | ||
choco upgrade mingw -y --no-progress --version 11.2.0.07112021 | ||
choco install cmake -y --no-progress --version 3.23.1 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~\AppData\Local\go-build | ||
~\go\pkg\mod | ||
key: go-${{ matrix.os }}-${{ hashFiles('**/go.sum') }} | ||
restore-keys: go-${{ matrix.os }}- | ||
|
||
- name: test-integration | ||
run: .\wmake.ps1 test-integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
[submodule "tests"] | ||
path = tests/testdata | ||
url = https://github.com/ethereum/tests | ||
[submodule "turbo/snapshotsync/snapshothashes/erigon-snapshots"] | ||
path = turbo/snapshotsync/snapshothashes/erigon-snapshots | ||
url = https://github.com/ledgerwatch/erigon-snapshot.git | ||
[submodule "cmd/downloader/trackers/trackerslist"] | ||
path = cmd/downloader/trackers/trackerslist | ||
url = https://github.com/ngosang/trackerslist.git | ||
|
||
[submodule "libmdbx"] | ||
path = libmdbx | ||
url = https://github.com/erthink/libmdbx | ||
url = https://github.com/torquem-ch/libmdbx.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.