github.com/jfrog/jfrog-cli-core/v2@v2.51.0/.github/workflows/test.yml (about) 1 name: JFrog CLI Core Tests 2 on: 3 push: 4 branches: 5 - '**' 6 tags-ignore: 7 - '**' 8 pull_request: 9 jobs: 10 test: 11 runs-on: ${{ matrix.os }}-latest 12 strategy: 13 fail-fast: false 14 matrix: 15 os: [ ubuntu, windows, macos ] 16 env: 17 GOPROXY: direct 18 GRADLE_OPTS: -Dorg.gradle.daemon=false 19 JFROG_CLI_LOG_LEVEL: "DEBUG" 20 steps: 21 - uses: actions/checkout@v4 22 23 - name: Setup Python3 24 uses: actions/setup-python@v5 25 with: 26 python-version: "3.x" 27 28 - name: Install pipenv & poetry 29 run: python -m pip install pipenv poetry 30 31 - name: Setup Go 32 uses: actions/setup-go@v5 33 with: 34 go-version: 1.20.x 35 cache: false 36 37 - name: Install NuGet 38 uses: nuget/setup-nuget@v2 39 with: 40 nuget-version: 6.x 41 42 - name: Install dotnet 43 uses: actions/setup-dotnet@v4 44 with: 45 dotnet-version: '6.x' 46 47 - name: Go Cache 48 uses: actions/cache@v4 49 with: 50 path: ~/go/pkg/mod 51 key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} 52 restore-keys: | 53 ${{ runner.os }}-go- 54 55 - name: Tests 56 run: go test -v github.com/jfrog/jfrog-cli-core/v2/tests -timeout 0 -race