Minimal set of working Gitea workflows. #138

Merged
telackey merged 20 commits from telackey/f8lint into main 2024-01-23 05:58:14 +00:00
2 changed files with 24 additions and 28 deletions
Showing only changes of commit 0d352cf6e3 - Show all commits

View File

@ -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

View File

@ -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