forked from cerc-io/laconicd-deprecated
fix and comment outdated tests (#155)
* fix and comment outdated tests * config test * update workflow for tests
This commit is contained in:
+40
-38
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user