Skip to content

fix: predicates with incremental informer #160

fix: predicates with incremental informer

fix: predicates with incremental informer #160

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
- 'LICENSE'
jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Test with the Go CLI
run: make test-unit
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: UnitTestsOutput
path: |
tests/out/*
!tests/out/.gitkeep
intetration-tests:
name: Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Test with the Go CLI
run: make test-integration
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: IntegrationTestsOutput
path: |
tests/out/*
!tests/out/.gitkeep
examples-unit-tests:
name: Examples Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Test with the Go CLI
working-directory: ./examples
run: go test -tags=unit -v ./...
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: UnitTestsOutput
path: |
tests/out/*
!tests/out/.gitkeep
examples-intetration-tests:
name: Examples integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Test with the Go CLI
working-directory: ./examples
run: go test -tags=integration -v ./...
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: IntegrationTestsOutput
path: |
tests/out/*
!tests/out/.gitkeep