Skip to content

Implemented file manifest generation and relevant testing #50

Implemented file manifest generation and relevant testing

Implemented file manifest generation and relevant testing #50

Workflow file for this run

name: autotest_prs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
DTS_KBASE_DEV_TOKEN: ${{ secrets.DTS_KBASE_DEV_TOKEN }}
DTS_KBASE_TEST_ORCID: ${{ secrets.DTS_KBASE_TEST_ORCID }}
DTS_GLOBUS_CLIENT_ID: ${{ secrets.DTS_GLOBUS_CLIENT_ID }}
DTS_GLOBUS_CLIENT_SECRET: ${{ secrets.DTS_GLOBUS_CLIENT_SECRET }}
DTS_GLOBUS_TEST_ENDPOINT: ${{ secrets.DTS_GLOBUS_TEST_ENDPOINT }}
DTS_JDP_SECRET: ${{ secrets.DTS_JDP_SECRET }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setting up Go 1.21
uses: actions/setup-go@v4
with:
go-version: ^1.21
id: go
- name: Checking out DTS
uses: actions/checkout@v4
- name: Vetting DTS
run: go vet -v ./...
- name: Building DTS
run: go build -v ./...
- name: Testing DTS
shell: bash
run: |
go test -v ./... -coverprofile=coverage.out -covermode=atomic
- name: Uploading code coverage report to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true