Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor pipelines to get R version only once for downstream workflows #2199

Merged
merged 5 commits into from
Nov 7, 2023

Conversation

cicdguy
Copy link
Collaborator

@cicdguy cicdguy commented Oct 27, 2023

Tests getting R version at the consumer level instead of getting it from the core pipeline from admiralci

@github-actions
Copy link

github-actions bot commented Oct 27, 2023

Code Coverage

Package Line Rate Health
admiral 98%
Summary 98% (4550 / 4624)

style:
name: Code Style
uses: pharmaverse/admiralci/.github/workflows/style.yml@main
uses: pharmaverse/admiralci/.github/workflows/style.yml@no-get-r-version-job
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change these back to main when pharmaverse/admiralci#160 is merged

Comment on lines +40 to +49
get_r_version:
name: Get R version
runs-on: ubuntu-latest
outputs:
r-version: ${{ steps.get_r_version.outputs.R_VERSION }}
steps:
- name: Get R Version for Downstream Container Jobs
id: get_r_version
run: echo "R_VERSION=$R_VERSION" >> $GITHUB_OUTPUT
shell: bash
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to make similar changes in other repositories (ophtha etc)

@cicdguy cicdguy changed the title Test no R version Refactor pipelines to get R version only once for downstream workflows Oct 27, 2023
@bms63
Copy link
Collaborator

bms63 commented Nov 3, 2023

is this still doable @cicdguy or getting tricky?

@cicdguy
Copy link
Collaborator Author

cicdguy commented Nov 3, 2023

The PR for the core workflow update needs to be merged and the change set from this PR needs to be propagated to other PRs

pharmaverse/admiralci#160

@bms63
Copy link
Collaborator

bms63 commented Nov 6, 2023

The PR for the core workflow update needs to be merged and the change set from this PR needs to be propagated to other PRs

pharmaverse/admiralci#160

This is done! Can we get this merged in!?! I'm excited to clean up our workflows!! Thanks again to you and @dgrassellyb for doing this!!!

@dgrassellyb dgrassellyb self-requested a review November 7, 2023 08:40
@dgrassellyb dgrassellyb merged commit 214c835 into main Nov 7, 2023
16 checks passed
@dgrassellyb dgrassellyb deleted the single-r-version-job branch November 7, 2023 09:26
@dgrassellyb
Copy link
Contributor

The PR for the core workflow update needs to be merged and the change set from this PR needs to be propagated to other PRs
pharmaverse/admiralci#160

This is done! Can we get this merged in!?! I'm excited to clean up our workflows!! Thanks again to you and @dgrassellyb for doing this!!!

Just needed to fix some conflicts, all checks passed so I just merged it !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants