Skip to content

Commit

Permalink
Update CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejgordon committed Feb 12, 2025
1 parent 31b561c commit c6c20d9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ jobs:
- run: 'echo "Not required for docs"'

# dummy steps that allow to bypass those mandatory checks for tests
build:
test-linux:
runs-on: ubuntu-latest
steps:
- run: 'echo "Not required for docs"'

# dummy steps that allow to bypass those mandatory checks for tests
release-build:
runs-on: ubuntu-latest
steps:
- run: 'echo "Not required for docs"'
25 changes: 19 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ env:
# update ci-docs.yml
jobs:
test-windows:
name: Windows Tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -36,11 +37,12 @@ jobs:
id: bootstrap
uses: ./.github/workflows/bootstrap

- name: Test
run: build.bat test --test-suite=skip-e2e
- name: Unit Tests
run: build.bat test --test-suite=unit
shell: cmd

build:
test-linux:
name: Linux Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -49,9 +51,20 @@ jobs:
id: bootstrap
uses: ./.github/workflows/bootstrap

- name: Test
run: ./build.sh test --test-suite=skip-e2e
- 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
shell: cmd

# 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

# We still run the full release build on pull-requests this ensures packages are validated ahead of time
- name: Release
run: ./build.sh release -c

0 comments on commit c6c20d9

Please sign in to comment.