Update main.yml #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Monitoring Norwegian submissions to SRA samples | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: # Manual trigger | |
jobs: | |
fetch-and-plot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Conda environment | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
run: | | |
conda env create -f EBIsearch_environment.yml | |
conda activate EBIsearch | |
- name: Run Python script | |
run: | | |
conda activate EBIsearch | |
python monitoring_sra-samples_EBIsearch.py | |