Skip to content

feat: add 'close' command to kill a session without stopping the daemon #136

feat: add 'close' command to kill a session without stopping the daemon

feat: add 'close' command to kill a session without stopping the daemon #136

Workflow file for this run

name: Test
on:
push:
branches: ["main"]
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
with:
go-version: stable
cache-dependency-path: go.sum
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/cache@v2
- uses: r-lib/actions/setup-r@v2
with:
rtools-version: none
- run: julia -e 'using Pkg; Pkg.add("Revise")'
- shell: bash
run: go test -C go -v -coverprofile=coverage.out -covermode=atomic
- name: Coverage summary
shell: bash
run: |
{
echo '### Go coverage'
echo '```'
go tool cover -func=go/coverage.out
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
go tool cover -func=go/coverage.out | tail -n1
- uses: codecov/codecov-action@v7
if: matrix.os == 'ubuntu-latest'
with:
files: go/coverage.out
token: ${{ secrets.CODECOV_TOKEN }}