feat: make time out in delete assets to be configurable #666
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
services: | |
elasticsearch: | |
image: elasticsearch:7.5.2 | |
ports: | |
- 9200:9200 | |
env: | |
ES_TEST_SERVER_URL: 'http://elasticsearch:9200' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.21' | |
- name: Install dependencies | |
run: sudo apt-get install build-essential | |
- name: Install packages | |
run: go mod tidy | |
- name: Run Test | |
run: make test | |
- name: Install goveralls and send coverage | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
go install github.com/mattn/[email protected] | |
goveralls -coverprofile=coverage.txt -service=github |