fix and comment outdated tests (#155)

* fix and comment outdated tests

* config test

* update workflow for tests
This commit is contained in:
Federico Kunze
2021-06-21 10:17:31 -04:00
committed by GitHub
parent b4d3659547
commit 04bacbdd1b
8 changed files with 885 additions and 852 deletions
+40 -38
View File
@@ -7,25 +7,26 @@ on:
branches:
- main
jobs:
test-rpc:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-go@v2.1.3
with:
go-version: 1.15
- uses: technote-space/get-diff-action@v4.1.1
id: git_diff
with:
SUFFIX_FILTER: |
.go
.mod
.sum
- name: test-rpc
run: |
make test-rpc
if: "env.GIT_DIFF != ''"
# TODO: refactor before enabling
# test-rpc:
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - uses: actions/checkout@v2.3.4
# - uses: actions/setup-go@v2.1.3
# with:
# go-version: 1.15
# - uses: technote-space/get-diff-action@v4.1.1
# id: git_diff
# with:
# SUFFIX_FILTER: |
# .go
# .mod
# .sum
# - name: test-rpc
# run: |
# make test-rpc
# if: "env.GIT_DIFF != ''"
split-test-files:
runs-on: ubuntu-latest
@@ -209,25 +210,26 @@ jobs:
fail_ci_if_error: true
if: "env.GIT_DIFF != ''"
test-importer:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-go@v2.1.3
with:
go-version: 1.15
- uses: technote-space/get-diff-action@v4.1.1
id: git_diff
with:
SUFFIX_FILTER: |
.go
.mod
.sum
- name: test-importer
run: |
make test-import
if: "env.GIT_DIFF != ''"
# TODO: refactor before enabling
# test-importer:
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - uses: actions/checkout@v2.3.4
# - uses: actions/setup-go@v2.1.3
# with:
# go-version: 1.15
# - uses: technote-space/get-diff-action@v4.1.1
# id: git_diff
# with:
# SUFFIX_FILTER: |
# .go
# .mod
# .sum
# - name: test-importer
# run: |
# make test-import
# if: "env.GIT_DIFF != ''"
test-solidity:
runs-on: ubuntu-latest