Skip to content

Commit 9e2ab30

Browse files
committed
experiment to clone FoBiS in CI
for code coverage
1 parent 112372a commit 9e2ab30

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,19 @@ jobs:
4747
- name: Setup Graphviz
4848
uses: ts-graphviz/setup-graphviz@v2.0.2
4949

50+
- name: Set current directory in env variable
51+
run: echo "MYDIR=$(pwd)" >> $GITHUB_ENV
52+
5053
- name: Install Python dependencies
5154
if: contains( matrix.os, 'ubuntu')
5255
run: |
5356
python -m pip install --upgrade pip
54-
pip install ford FoBiS.py pygooglechart fpm
57+
#pip install ford FoBiS.py pygooglechart fpm
58+
pip install ford pygooglechart fpm
59+
# just get the latest FoBiS from git:
60+
git clone https://github.com/szaghi/FoBiS.git
61+
export PYTHONPATH="$MYDIR/FoBiS/src/main/python:$PYTHONPATH"
62+
export PATH="$MYDIR/FoBiS/src/main/python:$PATH"
5563
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
5664
5765
- name: Install GFortran Linux

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ My Inspector*
3535
x64/
3636
Debug/
3737
Release/
38+
/FoBiS
3839

3940
# mac
4041
.DS_Store

0 commit comments

Comments
 (0)