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