Skip to content

run conda project run in background #4

run conda project run in background

run conda project run in background #4

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/[email protected]
- name: Setup Python
uses: mamba-org/[email protected]
with:
environment-name: test
create-args: >-
python=3.11
conda-project
-c conda-forge
- name: conda info and list
run: |
conda info
conda list
- name: Install conda-project
run: conda project install
- name: conda info and list for conda project environment
run: |
conda project run conda info
conda project run conda list
- name: Run conda-project
run: |
conda project run > logs.txt 2>&1 &
sleep 5
cat logs.txt
- name: Check Panel app running
run: |
curl http://127.0.0.1:5000