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

Be consistent in GHA names, only use Setup, remove Set up or Install #6766

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maxulysse
Copy link
Member

PR checklist

Closes #XXX

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

@maxulysse maxulysse requested a review from a team as a code owner October 10, 2024 14:46
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
with:
node-version: "20"

- name: Install Prettier
- name: Set up Prettier
Copy link
Contributor

Choose a reason for hiding this comment

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

this is a install step

Suggested change
- name: Set up Prettier
- name: Install Prettier

@@ -64,7 +64,7 @@ jobs:
with:
node-version: "20"

- name: Install editorconfig-checker
- name: Set up editorconfig-checker
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: Set up editorconfig-checker
- name: Install editorconfig-checker

@@ -163,18 +163,18 @@ jobs:
restore-keys: |
${{ runner.os }}-pip

- name: Install pip
- name: Set up pip
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: Set up pip
- name: Update pip

Copy link
Contributor

Choose a reason for hiding this comment

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

not sure if we actually need this step anymore

uses: nf-core/setup-nextflow@v2

- name: Install nf-core tools development version
- name: Set up nf-core tools development version
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: Set up nf-core tools development version
- name: Install nf-core tools development version

@@ -201,18 +201,18 @@ jobs:
with:
python-version: "3.11"

- name: Install pip
- name: Set up pip
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: Set up pip
- name: Update pip

uses: nf-core/setup-nextflow@561fcfc7146dcb12e3871909b635ab092a781f34 # v2

- name: Install nf-core tools development version
- name: Set up nf-core tools development version
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: Set up nf-core tools development version
- name: Install nf-core tools development version

@@ -413,19 +413,19 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-pytest

- name: Install Python dependencies
- name: Set up Python dependencies
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: Set up Python dependencies
- name: Install Python dependencies

Comment on lines 444 to 448

- name: Conda setup
- name: Set up Conda
run: |
conda clean -a
conda install -n base conda-libmamba-solver
Copy link
Contributor

Choose a reason for hiding this comment

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

this setup step can be removed if we add the conda-solver: to the setup-minoconda step

@@ -690,7 +690,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-pdiff

- name: Install Python dependencies
- name: Set up Python dependencies
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: Set up Python dependencies
- name: Install Python dependencies

@@ -701,7 +701,7 @@ jobs:
auto-update-conda: true
channels: conda-forge,bioconda

- name: Conda setup
- name: Set up Conda
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

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.

2 participants