Skip to content

Commit

Permalink
Merge pull request #1333 from mantidproject/actions-changes
Browse files Browse the repository at this point in the history
Updates to the github actions scripts
  • Loading branch information
rbauststfc committed Feb 24, 2022
2 parents a58e0b1 + fee8d4a commit 3c80325
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Testing with conda

on: [push, pull_request]
on:
push:
branches:
- 'main'
- 'release-*'
pull_request:
branches:
- 'main'
- 'release-*'

jobs:
test:
Expand Down Expand Up @@ -101,7 +109,7 @@ jobs:
coveralls
- name: publish 'unstable' package
if: github.ref == 'refs/heads/main'
if: ${{ github.event_name == 'push' }} && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release'))
uses: ./.github/actions/publish-package
with:
label: unstable
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/cos7_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

name: Testing with CentOS 7 docker

on: [push, pull_request]
on:
push:
branches:
- 'main'
- 'release-*'
pull_request:
branches:
- 'main'
- 'release-*'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/u18_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

name: Testing with Ubuntu 18 docker

on: [push, pull_request]
on:
push:
branches:
- 'main'
- 'release-*'
pull_request:
branches:
- 'main'
- 'release-*'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down

0 comments on commit 3c80325

Please sign in to comment.