Skip to content

Commit 385eb2f

Browse files
committed
test latest branca only once
1 parent 4544361 commit 385eb2f

2 files changed

Lines changed: 35 additions & 8 deletions

File tree

.github/workflows/test_code.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,3 @@ jobs:
3636
run: |
3737
source activate TEST
3838
pytest -vv --ignore=tests/selenium
39-
40-
- name: Tests with latest branca
41-
shell: bash -l {0}
42-
run: |
43-
source activate TEST
44-
conda remove branca --yes
45-
pip install git+https://github.com/python-visualization/branca.git
46-
pytest -vv --ignore=tests/selenium
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Code Tests with Latest branca
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [master]
7+
8+
jobs:
9+
run:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Setup Conda
16+
uses: s-weigand/setup-conda@v1
17+
with:
18+
activate-conda: false
19+
update-conda: true
20+
conda-channels: conda-forge
21+
22+
- name: Python 3.x
23+
shell: bash -l {0}
24+
run: |
25+
conda create --yes --name TEST python=3 pip --file requirements.txt --file requirements-dev.txt
26+
source activate TEST
27+
pip install -e . --no-deps --force-reinstall
28+
29+
- name: Tests with latest branca
30+
shell: bash -l {0}
31+
run: |
32+
source activate TEST
33+
conda remove branca --yes
34+
pip install git+https://github.com/python-visualization/branca.git
35+
pytest -vv --ignore=tests/selenium

0 commit comments

Comments
 (0)