Skip to content

Commit cdbe13c

Browse files
author
zhangrengang
committed
test CI: final
1 parent c6724f5 commit cdbe13c

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/main-linux.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,30 @@ jobs:
1616
build:
1717
# The type of runner that the job will run on
1818
runs-on: ubuntu-latest
19-
# runs-on: macos-latest
20-
# runs-on: macos-14
2119
# runs-on: ubuntu-22.04
2220
# Steps represent a sequence of tasks that will be executed as part of the job
2321
steps:
22+
- uses: actions/checkout@v4
2423
- name: Install dependencies
2524
# set up conda
2625
uses: s-weigand/[email protected]
2726
# with:
2827
# conda-channels: bioconda
29-
- uses: actions/checkout@v2
3028
# install dependencies
31-
- run: conda env create -f OrthoIndex.yaml
29+
run: conda env create -f OrthoIndex.yaml
3230

33-
# - name: activate
34-
- run: conda init bash
35-
- run: conda init
36-
- run: source /home/runner/.bashrc
37-
- run: cat ~/.bashrc
38-
- run: conda env list
39-
- run: conda --version
31+
- name: Activate
32+
run: |
33+
conda init bash
34+
conda init
35+
source /home/runner/.bashrc
36+
cat ~/.bashrc
37+
conda env list
38+
conda --version
4039
# - run: export PATH=/usr/share/miniconda/envs/OrthoIndex/bin:$PATH
41-
- run: source /usr/share//miniconda/etc/profile.d/conda.sh
42-
- run: ls -al /usr/share/miniconda/envs/OrthoIndex/bin
43-
- run: which python
40+
source /usr/share//miniconda/etc/profile.d/conda.sh
41+
ls -al /usr/share/miniconda/envs/OrthoIndex/bin
42+
which python
4443
# - run: conda activate OrthoIndex
4544
# - run: which python
4645

@@ -49,10 +48,11 @@ jobs:
4948
run: export PATH=/usr/share/miniconda/envs/OrthoIndex/bin:$PATH && python setup.py install
5049
# run: python setup.py install
5150

52-
# - name: run test
51+
- name: Test SOI
5352
# run test
54-
- run: ls -al
55-
- run: pwd
56-
- run: cd example_data && export PATH=/usr/share/miniconda/envs/OrthoIndex/bin:$PATH && bash example.sh
53+
run: |
54+
ls -al
55+
pwd
56+
cd example_data && export PATH=/usr/share/miniconda/envs/OrthoIndex/bin:$PATH && bash example.sh
5757
# - run: cd example_data && bash example.sh
5858

0 commit comments

Comments
 (0)