Skip to content

Commit

Permalink
Merge pull request #322 from NWChemEx-Project/ci_update
Browse files Browse the repository at this point in the history
Use New CI Workflows
  • Loading branch information
jwaldrop107 authored Nov 20, 2023
2 parents dc83606 + ad722ad commit 46e0a43
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 59 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/deploy_docs.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/format.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 NWChemEx-Project
# Copyright 2023 NWChemEx-Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -12,17 +12,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Add Licenses

name: .github Merge Workflow

on:
pull_request:
push:
branches:
- master

jobs:
license_files:
uses: NWChemEx-Project/.github/.github/workflows/add_licenses_master.yaml@master
Common-Merge:
uses: NWChemEx-Project/.github/.github/workflows/common_merge.yaml@master
with:
config_file: .github/.licenserc.yaml
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
doc_target: 'pluginplay_cxx_api'
generate_module_docs: false
secrets: inherit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 NWChemEx
# Copyright 2023 NWChemEx-Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -12,23 +12,20 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Tag and Release

name: .github Pull Request Workflow

on:
push:
pull_request:
branches:
- master

jobs:
tag:
uses: NWChemEx-Project/.github/.github/workflows/tag_and_release_master.yaml@master
secrets:
token: ${{ secrets.TAG_TOKEN }}
# release:
# needs: tag
# if: |
# (needs.tag.outputs.bumped_major == 'true') ||
# (needs.tag.outputs.bumped_minor == 'true')
# uses: NWChemEx-Project/.github/.github/workflows/pypi_release_master.yaml@automate-versioning
# secrets:
# token: ${{ secrets.PYPI_API_TOKEN }}
Common-Pull-Request:
uses: NWChemEx-Project/.github/.github/workflows/common_pull_request.yaml@master
with:
config_file: '.github/.licenserc.yaml'
source_dir: 'include src tests'
compilers: '["gcc-11", "clang-11"]'
doc_target: 'pluginplay_cxx_api'
secrets: inherit
12 changes: 0 additions & 12 deletions .github/workflows/test_docs.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ if("${BUILD_TESTING}")
cmaize_add_tests(
test_integration_${PROJECT_NAME}
SOURCE_DIR "${cxx_test_dir}/integration_tests"
INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/src/${PROJECT_NAME}"
DEPENDS Catch2::Catch2 ${PROJECT_NAME} ${PROJECT_NAME}_examples
INCLUDE_DIRS "${cxx_test_dir}/integration_tests"
DEPENDS Catch2::Catch2
)
cmaize_add_tests(
test_${PROJECT_NAME}_docs
Expand Down

0 comments on commit 46e0a43

Please sign in to comment.