Skip to content

fix: deletes queue messages by chunks #114

fix: deletes queue messages by chunks

fix: deletes queue messages by chunks #114

name: Test Engine Compatibility
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
GO_VERSION: 1.23
permissions:
checks: write
contents: read
jobs:
test-compatibility:
runs-on: ubuntu-latest
services:
mongodb-compatibility:
image: mongo:5.0.18
ports:
- "27017:27017"
redis-compatibility:
image: redis:5.0.14
ports:
- 6379:6379
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v4
- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Install mockgen
run: go install github.com/golang/mock/mockgen@latest
- name: Install gotestsum
run: go install gotest.tools/gotestsum@latest
- name: Generate Mocks
run: make gen-mocks
- name: Generate TLS certificates
run: make gen-cert
- name: Go mod tidy
run: go mod tidy
- name: Make test
run: make integration-test
- name: Publish test results
uses: actions/upload-artifact@v4
if: always()
with:
name: gotest.out
path: gotest.out
- name: Publish JUnit report
uses: actions/upload-artifact@v4
if: always()
with:
name: junit.xml
path: junit.xml
- name: JUnit report action
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: junit.xml
job_name: test-compatibility
check_name: JUnit Engine Compatibility Report