Skip to content

Commit e4704b0

Browse files
committed
added a new test for the github only install
1 parent 737be5f commit e4704b0

3 files changed

Lines changed: 35 additions & 4 deletions

File tree

.github/workflows/install_developer_conda_and_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
build:
77

88
runs-on: ubuntu-latest
9-
strategy:
10-
matrix:
11-
python-version: [3.9]
12-
#python-version: [3.6,3.7, 3.8]
9+
#strategy:
10+
# matrix:
11+
# python-version: [3.9]
12+
# #python-version: [3.6,3.7, 3.8]
1313

1414
steps:
1515
- uses: actions/checkout@v3
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: test_conda_developer_installation
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
#strategy:
10+
# matrix:
11+
# python-version: [3.12]
12+
# #python-version: [3.6,3.7, 3.8]
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- run: |
17+
which python3
18+
python --version
19+
- name: Install dependencies
20+
run: |
21+
./install_github_pip.sh
22+
23+
- name: Test with unittest
24+
run: |
25+
cd tests
26+
python -m unittest discover -t . -p 'Test*'
27+
28+

install_github_pip.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
pip install -e git+https://github.com/MPIBGC-TEE/testinfrastructure.git#egg=testinfrastructure
3+
pip install -e git+https://github.com/MPIBGC-TEE/ComputabilityGraphs.git#egg=ComputabilityGraphs

0 commit comments

Comments
 (0)