forked from PowerGridModel/power-grid-model
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Laurynas-Jagutis/feature/single-pr-workflow
Setup for a single PR workflow
- Loading branch information
Showing
9 changed files
with
76 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]> | ||
# | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
name: CI Build | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# run pipeline on push event of main branch. | ||
push: | ||
branches: | ||
- main | ||
# run pipeline on pull request. | ||
pull_request: | ||
# run pipeline on merge queue | ||
merge_group: | ||
# run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 2 * * *" # Based on UTC time | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-ci-build | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-test-release: | ||
name: build-test-release | ||
uses: "./.github/workflows/build-test-release.yml" | ||
permissions: | ||
contents: write | ||
with: | ||
create_release: false | ||
|
||
check-code-quality: | ||
uses: "./.github/workflows/check-code-quality.yml" | ||
|
||
reuse-compliance: | ||
uses: "./.github/workflows/reuse-compliance.yml" | ||
|
||
clang-tidy: | ||
uses: "./.github/workflows/clang-tidy.yml" | ||
with: | ||
target: "all power_grid_model_benchmark_cpp" | ||
|
||
citations: | ||
uses: "./.github/workflows/citations.yml" | ||
|
||
sonar: | ||
uses: "./.github/workflows/sonar.yml" | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters