Skip to content

Commit

Permalink
chore(workflows): rename workflow from 'Test Agent Local' to 'Test Ag…
Browse files Browse the repository at this point in the history
…ent Integration'

feat(workflows): update test job to run on integration tests directory
feat(workflows): add environment variables for cluster test and agent base URL
  • Loading branch information
chronark committed Sep 20, 2024
1 parent 0135dce commit 9486128
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/job_test_agent_integration.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test Agent Local
name: Test Agent Integration
on:
workflow_call:
inputs:
Expand All @@ -24,5 +24,8 @@ jobs:
working-directory: apps/agent

- name: Test
run: go test -cover -json -timeout=60m -failfast ./pkg/... ./services/... | tparse -all -progress
run: go test -cover -json -timeout=60m -failfast ./integration/... | tparse -all -progress -smallscreen
env:
CLUSTER_TEST: true
AGENT_BASE_URL: ${{ inputs.agentBaseUrl }}
working-directory: apps/agent
7 changes: 2 additions & 5 deletions .github/workflows/job_test_agent_local.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test Agent Integration
name: Test Agent Local
on:
workflow_call:
inputs:
Expand All @@ -24,8 +24,5 @@ jobs:
working-directory: apps/agent

- name: Test
run: go test -cover -json -timeout=60m -failfast ./integration/... | tparse -all -progress -smallscreen
env:
CLUSTER_TEST: true
AGENT_BASE_URL: ${{ inputs.agentBaseUrl }}
run: go test -cover -json -timeout=60m -failfast ./pkg/... ./services/... | tparse -all -progress
working-directory: apps/agent

0 comments on commit 9486128

Please sign in to comment.