revert changes #322
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: Test pipeline CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
# Runs commands using the runners shell | |
- name: Building dependency Docker container | |
# Builds here the Docker container | |
run: docker build . --file Dockerfile --tag ksrates | |
- name: Installing Nextflow | |
run: | | |
sudo apt-get update | |
sudo apt-get install wget default-jdk | |
sudo wget -qO- https://get.nextflow.io | bash | |
sudo mv nextflow /usr/bin | |
- name: Running ksrates Nextflow pipeline | |
run: | | |
cd test | |
mv nextflow.config custom_nextflow.config | |
NXF_VER=21.10.6 nextflow run ../main.nf --config config_elaeis.txt -with-docker ksrates | |
- name: Visualize output files | |
if: ${{ always() }} | |
run: ls -l test/rate_adjustment/elaeis |