gitlab.com/flarenetwork/coreth@v0.1.1/.github/workflows/push_ci.yml (about) 1 name: Branch Push CI 2 on: [push] 3 4 jobs: 5 lint: 6 name: Lint 7 runs-on: ubuntu-18.04 8 steps: 9 - uses: actions/checkout@v2 10 - name: golangci-lint 11 uses: golangci/golangci-lint-action@v2 12 with: 13 version: latest 14 working-directory: . 15 args: --timeout 3m 16 test: 17 name: Golang Unit Tests v${{ matrix.go }} (${{ matrix.os }}) 18 runs-on: ${{ matrix.os }} 19 strategy: 20 matrix: 21 go: ['1.15'] 22 os: [macos-11.0, ubuntu-18.04, ubuntu-20.04, windows-latest] 23 steps: 24 - uses: actions/checkout@v2 25 - uses: actions/setup-go@v1 26 with: 27 go-version: ${{ matrix.go }} 28 - run: go mod download 29 shell: bash 30 - run: ./scripts/build.sh evm 31 shell: bash 32 - run: ./scripts/build_test.sh 33 shell: bash 34 e2e: 35 name: Golang E2E Tests v${{ matrix.go }} (${{ matrix.os }}) 36 runs-on: ${{ matrix.os }} 37 strategy: 38 matrix: 39 go: [ '1.15' ] 40 os: [ ubuntu-20.04 ] 41 steps: 42 - uses: actions/checkout@v2 43 - uses: actions/setup-go@v1 44 with: 45 go-version: ${{ matrix.go }} 46 - run: .github/workflows/run_e2e_tests.sh --parallelism 1 --client-id $KURTOSIS_CLIENT_ID --client-secret $KURTOSIS_CLIENT_SECRET 47 shell: bash 48 env: 49 DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} 50 DOCKER_PASS: ${{ secrets.DOCKER_PASS }} 51 KURTOSIS_CLIENT_ID: ${{ secrets.KURTOSIS_CLIENT_ID }} 52 KURTOSIS_CLIENT_SECRET: ${{ secrets.KURTOSIS_CLIENT_SECRET }}