Skip to content

LauraB-CWF Run bcfishpass on test #87

LauraB-CWF Run bcfishpass on test

LauraB-CWF Run bcfishpass on test #87

name: testing-bcfishpass
run-name: ${{ github.actor }} Run bcfishpass on test
on:
workflow_dispatch:
pull_request:
branches:
- 'main'
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
jobs:
load-csv:
runs-on: ubuntu-latest
environment: testing
container: ghcr.io/smnorris/bcfishpass:main
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run the jobs
run: |
cp parameters/example_newgraph/*csv parameters/
jobs/load_csv
load-xings:
runs-on: ubuntu-latest
environment: testing
container: ghcr.io/smnorris/bcfishpass:main
needs: load-csv
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run the jobs
run: jobs/load_modelled_stream_crossings
prep:
runs-on: ubuntu-latest
environment: testing
container: ghcr.io/smnorris/bcfishpass:main
needs: load-xings
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run the jobs
run: jobs/model_prep
model:
runs-on: ubuntu-latest
environment: testing
container: ghcr.io/smnorris/bcfishpass:main
needs: prep
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Run the jobs
run: |
git config --global --add safe.directory /__w/bcfishpass/bcfishpass
jobs/model_run