Skip to content

Commit

Permalink
chore(test): use fake gaussian for test (#42)
Browse files Browse the repository at this point in the history
* chore(test): use fake gaussian for test

* bugfix
  • Loading branch information
njzjz authored May 10, 2021
1 parent 9386f70 commit c1c4279
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,4 @@ jobs:
python-version: '3.7'
architecture: 'x64'
- run: pip install tox
- run: git clone --depth 1 https://github.com/circulosmeos/gdown.pl
working-directory: /home/runner/work
- run: ./gdown.pl/gdown.pl $GAUSSIANURL "g16.tgz">/dev/null 2>&1
env:
GAUSSIANURL: ${{ secrets.GAUSSIANURL }}
working-directory: /home/runner/work
- run: tar -xzvf g16.tgz
working-directory: /home/runner/work
- run: tox
env:
g16root: /home/runner/work
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
with open(path.join(this_directory, 'docs', 'README.md')) as f:
long_description = f.read()

tests_require = ['pytest-sugar', 'pytest-cov']
tests_require = ['pytest-sugar', 'pytest-cov', 'fakegaussian>=0.0.2']
setup(name='aimdfragmentation',
description='AIMD Fragmentation Calculation',
keywords="AIMD Fragmentation",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ deps =
whitelist_externals =
bash
commands =
bash -c "source $g16root/g16/bsd/g16.profile; pytest --pyargs aimdfragmentation --cov {envsitepackagesdir}/aimdfragmentation -s"
pytest --pyargs aimdfragmentation --cov {envsitepackagesdir}/aimdfragmentation -s
- codecov

0 comments on commit c1c4279

Please sign in to comment.