Skip to content

Fix HandleGetTask by excluding Cmd from serialization #36

Fix HandleGetTask by excluding Cmd from serialization

Fix HandleGetTask by excluding Cmd from serialization #36

Workflow file for this run

name: worker tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
worker_tests:
strategy:
fail-fast: false
matrix:
os: [Linux, Windows]
include:
- os: Linux
pool: ubuntu-latest
- os: Windows
pool: windows-latest
name: Run tests on ${{ matrix.os }}
runs-on: ${{ matrix.pool }}
timeout-minutes: 2
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: "1.23.6"
- name: Build worker Docker image
if: ${{ matrix.os != 'Windows' }}
run: |
docker compose build
- name: Run tests
run: |
go test ./tests/worker/...