Minimal set of working Gitea workflows. #138
@ -7,21 +7,17 @@ on:
|
||||
- release/**
|
||||
|
||||
jobs:
|
||||
# test-unit-cover:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/setup-go@v3
|
||||
# with:
|
||||
# go-version: 1.19
|
||||
# check-latest: true
|
||||
# - uses: actions/checkout@v3
|
||||
# - name: Test and Create Coverage Report
|
||||
# run: |
|
||||
# make test-unit-cover
|
||||
# - uses: codecov/codecov-action@v3
|
||||
# with:
|
||||
# file: ./coverage.txt
|
||||
# fail_ci_if_error: false
|
||||
test-unit-cover:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19
|
||||
check-latest: true
|
||||
- uses: actions/checkout@v3
|
||||
- name: Test
|
||||
run: |
|
||||
make test-unit
|
||||
|
||||
test-importer:
|
||||
runs-on: ubuntu-latest
|
||||
@ -36,18 +32,18 @@ jobs:
|
||||
run: |
|
||||
make test-import
|
||||
|
||||
# test-rpc:
|
||||
# runs-on: ubuntu-latest
|
||||
# timeout-minutes: 15
|
||||
# steps:
|
||||
# - uses: actions/setup-go@v3
|
||||
# with:
|
||||
# go-version: 1.19
|
||||
# check-latest: true
|
||||
# - uses: actions/checkout@v3
|
||||
# - name: Test rpc endpoint
|
||||
# run: |
|
||||
# make test-rpc
|
||||
test-rpc:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19
|
||||
check-latest: true
|
||||
- uses: actions/checkout@v3
|
||||
- name: Test rpc endpoint
|
||||
run: |
|
||||
make test-rpc
|
||||
|
||||
sdk_tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -146,7 +146,7 @@ echo "done sleeping"
|
||||
set +e
|
||||
|
||||
if [[ -z $TEST || $TEST == "rpc" || $TEST == "pending" ]]; then
|
||||
time_out=300s
|
||||
time_out=900s
|
||||
if [[ $TEST == "pending" ]]; then
|
||||
time_out=60m0s
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user