Skip to content

Commit

Permalink
Remove foresight from CI (#3311)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael authored Jul 4, 2023
1 parent bdcae1a commit 48de8f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
daysUntilStale: 180
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
Expand Down
36 changes: 1 addition & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: success() || failure()

- name: Set up Go 1.20
uses: actions/[email protected]
with:
Expand All @@ -33,28 +29,11 @@ jobs:
env:
GOA_BRANCH: ${{ steps.extract_branch.outputs.branch }}

- name: Compute code coverage
run: go test -v -json -coverprofile=coverage.out ./... > ./test-report.json || true

- name: Analyze Test and/or Coverage Results
uses: runforesight/foresight-test-kit-action@v1
if: success() || failure()
with:
test_format: JSON
test_framework: GOLANG
test_path: "./test-report.json"
coverage_format: GOLANG
coverage_path: ./coverage.out

Windows:
name: Windows
runs-on: windows-latest
steps:

- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: success() || failure()

- name: Set up Go 1.20
uses: actions/[email protected]
with:
Expand All @@ -77,17 +56,4 @@ jobs:
- name: Build
run: make ci
env:
GOA_BRANCH: ${{ steps.extract_branch.outputs.branch }}

- name: Compute code coverage
run: go test -v -json -coverprofile=coverage ./... > test-report.json

- name: Analyze Test and/or Coverage Results
uses: runforesight/foresight-test-kit-action@v1
if: success() || failure()
with:
test_format: JSON
test_framework: GOLANG
test_path: test-report.json
coverage_format: GOLANG
coverage_path: .\coverage
GOA_BRANCH: ${{ steps.extract_branch.outputs.branch }}

0 comments on commit 48de8f7

Please sign in to comment.