Skip to content

set workflow_dispatch trigger #193

set workflow_dispatch trigger

set workflow_dispatch trigger #193

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Env_check:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up env
uses: conda-incubator/setup-miniconda@master
with:
miniforge-variant: Miniforge3
miniforge-version: latest
activate-environment: journey
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
channels: conda-forge
channel-priority: strict
- name: Install package
run: |
pip install -e .
# - name: Test with pytest
# run: |
# pytest tests/package.py
- name: Conda info
run: conda info
- name: Conda list
run: conda list