Skip to content

COMPUTE-226 Do not log all HTTP req failures if being retried #53

COMPUTE-226 Do not log all HTTP req failures if being retried

COMPUTE-226 Do not log all HTTP req failures if being retried #53

Workflow file for this run

name: Tests and build checks
on:
pull_request:
branches:
- master
jobs:
macos:
name: Macos build
runs-on: macos-12
env:
GOOS: darwin
GOARCH: amd64
CGO_ENABLED: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.16.6'
- name: Build Macos executable
run: |
set -x
go build -o dx-download-agent cmd/dx-download-agent/dx-download-agent.go
chmod +x dx-download-agent
./dx-download-agent help
windows:
name: Windows build
runs-on: windows-latest
env:
GOOS: windows
GOARCH: amd64
CGO_ENABLED: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.16.6'
- name: Build Windows executable
run: |
go build -o dx-download-agent.exe cmd/dx-download-agent/dx-download-agent.go
.\dx-download-agent help
linux:
name: Linux build and test
runs-on: ubuntu-20.04
env:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.16.6'
- name: apt-get dependencies
run: sudo apt-get install -y build-essential
- name: Build Linux executable
run: |
set -x
go build -o dx-download-agent cmd/dx-download-agent/dx-download-agent.go
- name: Run tests
env:
DX_API_TOKEN: ${{ secrets.DX_API_TOKEN }}
run: |
set -x
./dx-download-agent download -max_threads=`nproc` test_files/single_file.manifest.json.bz2