Skip to content

Commit

Permalink
Merge pull request #305 from uclahs-cds/nwiltsie-reimplement-tests
Browse files Browse the repository at this point in the history
Implement refactored Nextflow test workflows
  • Loading branch information
nwiltsie authored Apr 12, 2024
2 parents 76c63a1 + 4378792 commit 57663c4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/nextflow-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
---
name: Nextflow Tests
name: Nextflow config tests

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_run:
workflows: [Trigger Tests]
types:
- completed

permissions:
actions: read
contents: write
packages: read
pull-requests: write
statuses: write

jobs:
tests:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: uclahs-cds/tool-Nextflow-action/.github/workflows/nextflow-tests.yml@main
secrets: inherit
20 changes: 20 additions & 0 deletions .github/workflows/trigger-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Trigger tests

on:
issue_comment:
types: [created]
pull_request_target:
branches:
- main
push:
branches:
- main

permissions:
pull-requests: write
statuses: write

jobs:
check-user:
uses: uclahs-cds/tool-Nextflow-action/.github/workflows/test-setup.yml@main
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

### [Changed]
- Update Nextflow configuration test workflows

## [10.0.0] - 2024-03-29
### Added
- Add Action to generate documentation in GitHub Pages
Expand Down

0 comments on commit 57663c4

Please sign in to comment.