Skip to content

test conda

test conda #2

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI-Linux
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
# set up conda
- name: Setup conda
uses: s-weigand/setup-conda@v1.0.5
with:
python-version: '3.10'

Check failure on line 28 in .github/workflows/main-linux.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main-linux.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
- name: Install
# install dependencies
run: |
git clone --recurse-submodules https://github.com/zhangrengang/Centromics
cd Centromics
# install
conda env create -f Centromics.yaml
export PATH=/usr/share/miniconda/envs/RepCent/bin:$PATH
# conda activate RepCent
./install.sh
- name: Test
run: |
ls -al
pwd
# - run: cd example_data && bash example.sh