Create main.yml #1
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: integration_test_cli | ||
on: | ||
push | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout repo content | ||
uses: actions/checkout@v2 # checkout the repository content to github runner. | ||
- name: setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 #install the python needed | ||
- name: Install dependencies | ||
run: | | ||
conda env create -f marine_environment.yml -n marine_environment | ||
conda activate marine_environment | ||
ref: # branch | ||
main | ||
- name: execute py script # run file | ||
run: | | ||
bash tests/integration_tests_run.sh |