Skip to content

Commit

Permalink
simplify workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Eliott Bouhana <[email protected]>
  • Loading branch information
eliottness committed Jul 11, 2024
1 parent 1d2aa13 commit 7ff5065
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions .github/workflows/workflow_call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,7 @@ jobs:
fail-fast: false
matrix:
runs-on: [macos, ubuntu, windows]
go-version: ['1.21', '1.22', '1.23.0-rc.1']
build-mode: [DRIVER]
include:
# Alternate build modes (only on ubuntu, latest go; to save CI time)
- runs-on: ubuntu
go-version: '1.22'
build-mode: TOOLEXEC
- runs-on: ubuntu
go-version: '1.22'
build-mode: GOFLAGS
go-version: ['1.21', '1.22']
runs-on: ${{ matrix.runs-on }}-latest
name: Integration tests (go${{ matrix.go-version }}, ${{ matrix.runs-on }}, ${{ matrix.build-mode }})
steps:
Expand Down Expand Up @@ -61,7 +52,7 @@ jobs:
- name: Install python dependencies
run: pip install -r _integration-tests/utils/agent/requirements.txt
- name: Build orchestrion binary
run: go build -cover -covermode=atomic -coverpkg="./..." -o="bin/orchestrion.exe" .
run: go build -o="bin/orchestrion.exe" .
- name: Run Integration Tests
shell: bash
run: |-
Expand All @@ -71,19 +62,3 @@ jobs:
env:
GOFLAGS: -tags=integration,buildtag # Globally set build tags (buildtag is used by the dd-span test)

# This is just a join point intended to simplify branch protection settings
complete:
runs-on: ubuntu-latest
needs:
- integration-tests
if: '!cancelled()'
steps:
- name: Done
if: needs.lint.result == 'success' && needs.unit-tests.result == 'success' && needs.integration-tests.result == 'success'
run: echo "OK"
- name: Done
if: needs.lint.result != 'success' || needs.unit-tests.result != 'success' || needs.integration-tests.result != 'success'
run: |-
echo "Failed!"
exit 1

0 comments on commit 7ff5065

Please sign in to comment.