Skip to content

Commit 39df60c

Browse files
violafanfaniviolafanfani
andauthored
updated conda test to make it faster (#331)
* updated conda test to make it faster * updated conda test to make it faster --------- Co-authored-by: violafanfani <[email protected]>
1 parent 0b27c51 commit 39df60c

File tree

5 files changed

+141
-1
lines changed

5 files changed

+141
-1
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: test conda 39
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- devel
7+
jobs:
8+
build:
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest]
13+
python-version: ['3.10']
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: "Setup Conda"
18+
uses: s-weigand/setup-conda@v1
19+
with:
20+
update-conda: false
21+
python-version: '3.9'
22+
conda-channels: anaconda, conda-forge, bioconda
23+
- name: "Install Conda development packages"
24+
run: |
25+
conda install conda-build
26+
conda install -c anaconda anaconda-client
27+
- name: "Build and upload package"
28+
run: |
29+
mkdir conda-build
30+
conda build . --no-build-id --output-folder ./conda-build -c conda-forge
31+
conda install "urllib3<2"
32+
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build --dry-run
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: test conda manual 310
2+
on:
3+
workflow_dispatch:
4+
branches:
5+
- master
6+
- devel
7+
pull_request:
8+
branches:
9+
- master
10+
- devel
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest]
17+
python-version: ['3.10']
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: "Setup Conda"
22+
uses: s-weigand/setup-conda@v1
23+
with:
24+
update-conda: false
25+
python-version: '3.10'
26+
conda-channels: anaconda,conda-forge,bioconda
27+
- name: "Install Conda development packages"
28+
run: |
29+
conda install conda-build
30+
conda install -c anaconda anaconda-client
31+
- name: "Build and upload package"
32+
run: |
33+
mkdir conda-build
34+
conda build . --no-build-id --output-folder ./conda-build -c conda-forge
35+
conda install "urllib3<2"
36+
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: test conda manual 38
2+
on:
3+
workflow_dispatch:
4+
branches:
5+
- master
6+
- devel
7+
pull_request:
8+
branches:
9+
- master
10+
- devel
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest]
17+
python-version: ['3.10']
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: "Setup Conda"
22+
uses: s-weigand/setup-conda@v1
23+
with:
24+
update-conda: false
25+
python-version: '3.8'
26+
conda-channels: anaconda,conda-forge,bioconda
27+
- name: "Install Conda development packages"
28+
run: |
29+
conda install conda-build
30+
conda install -c anaconda anaconda-client
31+
- name: "Build and upload package"
32+
run: |
33+
mkdir conda-build
34+
conda build . --no-build-id --output-folder ./conda-build -c conda-forge
35+
conda install "urllib3<2"
36+
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: test conda manual 39
2+
on:
3+
workflow_dispatch:
4+
branches:
5+
- master
6+
- devel
7+
pull_request:
8+
branches:
9+
- master
10+
- devel
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest]
17+
python-version: ['3.10']
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: "Setup Conda"
22+
uses: s-weigand/setup-conda@v1
23+
with:
24+
update-conda: false
25+
python-version: '3.9'
26+
conda-channels: anaconda,conda-forge,bioconda
27+
- name: "Install Conda development packages"
28+
run: |
29+
conda install conda-build
30+
conda install -c anaconda anaconda-client
31+
- name: "Build and upload package"
32+
run: |
33+
mkdir conda-build
34+
conda build . --no-build-id --output-folder ./conda-build -c conda-forge
35+
conda install "urllib3<2"
36+
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build

.github/workflows/test-conda-manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: s-weigand/setup-conda@v1
2323
with:
2424
update-conda: false
25-
python-version: ${{ matrix.python-version }}
25+
python-version: '3.10'
2626
conda-channels: anaconda,conda-forge,bioconda
2727
- name: "Install Conda development packages"
2828
run: |

0 commit comments

Comments
 (0)