Skip to content

Refactor public API and align with 1.10 and 1.11 of the SDK #431

Refactor public API and align with 1.10 and 1.11 of the SDK

Refactor public API and align with 1.10 and 1.11 of the SDK #431

Workflow file for this run

name: Pull Request Validation
on:
push:
branches:
- main
paths-ignore:
- '*.md'
- '*.asciidoc'
- 'docs/**'
pull_request:
paths-ignore:
- '*.md'
- '*.asciidoc'
- 'docs/**'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
# NOTE: if you add a new job and it's a mandatory check then
# update ci-docs.yml
jobs:
test-windows:
name: Windows Tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Bootstrap Action Workspace
id: bootstrap
uses: ./.github/workflows/bootstrap
- name: Unit Tests
run: build.bat test --test-suite=unit
shell: cmd
test-linux:
name: Linux Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bootstrap Action Workspace
id: bootstrap
uses: ./.github/workflows/bootstrap
- name: Unit Tests
run: ./build.sh test --test-suite=unit # For now, we limit to unit tests only, until we have a better way to run integration tests only for autoinstrumentation builds
# We still run the full release build on pull-requests this ensures packages are validated ahead of time
release-build:
name: Release Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bootstrap Action Workspace
id: bootstrap
uses: ./.github/workflows/bootstrap
- name: Release
run: ./build.sh release -c