Skip to content

Commit

Permalink
donot call notebook test as it is time consuming
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhu2017 committed May 23, 2022
1 parent 218588b commit d4710fd
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@ jobs:
run: |
python -m pytest pyxtal_ff/test_all.py
notebooks:
strategy:
matrix:
python-version: [ 3.7, 3.8 ]
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
#notebooks:
# strategy:
# matrix:
# python-version: [ 3.7, 3.8 ]
# os: [ ubuntu-latest, windows-latest ]
# runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip
pip install pytest nbmake
pip install -r requirements.txt
pip install .
- name: Test notebooks with pytest
run: |
pytest --nbmake ./examples --nbmake-timeout=3600
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# python -m pip install -U pip
# pip install pytest nbmake
# pip install -r requirements.txt
# pip install .
# - name: Test notebooks with pytest
# run: |
# pytest --nbmake ./examples --nbmake-timeout=3600

0 comments on commit d4710fd

Please sign in to comment.