Skip to content

Commit

Permalink
Merge pull request ESCOMP#176 from jedwards4b/add_github_testing
Browse files Browse the repository at this point in the history
add github testing of prs and automatic tagging of main
  • Loading branch information
jedwards4b authored Jan 9, 2023
2 parents 2d2479e + 711a53f commit dcd462d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/bumpversion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Bump version
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
create_annotated_tag: true
default_bump: patch
dry_run: false
tag_prefix: manic-
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This is a workflow to compile the cmeps source without cime
name: extbuild

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test-manic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test Manic
run: |
pushd test
make utest
make stest
popd

0 comments on commit dcd462d

Please sign in to comment.