Skip to content

Commit c6efc17

Browse files
committed
[ci] Add github test actions
Add github actions to run tests in the main and test workspace.
1 parent 78c8e35 commit c6efc17

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2025 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
13+
14+
name: Run all tests of the main workspace
15+
on:
16+
pull_request:
17+
types: [opened, synchronize, reopened]
18+
jobs:
19+
run-all-tests:
20+
name: run main workspace tests
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: bazelbuild/setup-bazelisk@v3
25+
- run: ./scripts/run_all_tests.sh main
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2025 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
13+
14+
name: Run tests in test workspace
15+
on:
16+
pull_request:
17+
types: [opened, synchronize, reopened]
18+
jobs:
19+
run-all-tests:
20+
name: run test workspace tests
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: bazelbuild/setup-bazelisk@v3
25+
- run: ./scripts/run_all_tests.sh test

0 commit comments

Comments
 (0)