update starting_kit script in notebook #18
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: Check Extra Install | |
on: | |
push: | |
branches: | |
- '**' | |
create: | |
branches: | |
- 'master' | |
tags: | |
- '**' | |
jobs: | |
pip_install: | |
name: Check extra install with pip | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Pip install extra_libraries | |
run: pip install -r extra_libraries.txt | |
conda_install: | |
name: Check extra install with conda | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
channels: conda-forge | |
mamba-version: "*" | |
- name: Mamba create environment.yml | |
run: mamba env create -f environment.yml -n test_env | |
check_same_deps: | |
name: Check pip and conda install same env | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: pip install pyyaml | |
- name: Check same requirements | |
run: python .github/workflows/check_deps.py |