Skip to content

Add Github secrets to be able to run nf-tests in GitHub CI #45

@ochkalova

Description

@ochkalova

Description of the bug

What to configure

Add repository secrets in GitHub: WEBIN_ACCOUNT and WEBIN_PASSWORD (or rename to ENA_WEBIN / ENA_WEBIN_PASSWORD if you prefer).
Your workflow already reads WEBIN_ACCOUNT / WEBIN_PASSWORD in [nf-test.yml:20-21].
Your pipeline expects Nextflow secrets named ENA_WEBIN and ENA_WEBIN_PASSWORD (see [nextflow.config:237-238]).
Workflow step to add

In the nf-test job, before running nf-test, add:

- name: Configure Nextflow secrets
  shell: bash
  run: |
    nextflow secrets set ENA_WEBIN "${{ secrets.WEBIN_ACCOUNT }}"
    nextflow secrets set ENA_WEBIN_PASSWORD "${{ secrets.WEBIN_PASSWORD }}"

Command used and terminal output

Relevant files

No response

System information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions