Skip to content

Commit

Permalink
fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
SirVheod committed May 15, 2020
1 parent 2d08547 commit 6af9a35
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ jobs:
# Save notebooks
- name: Save notebooks
if: always()
if: ${{ always() }}
run: |
python -m jupyter nbconvert --ExecutePreprocessor.timeout=600 --ExecutePreprocessor.allow_errors=True --to html --execute examples/*.ipynb
# Upload notebooks
- name: Upload notebooks
if: always()
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: notebooks py3
path: examples/*.html

# Run pylint
- name: Run pylint
if: always()
if: ${{ always() }}
run: |
python -m pip install -e .
python -m pylint hepdata_lib/*.py
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
# Save notebooks
- name: Save notebooks
if: always()
if: ${{ always() }}
run: |
cd /usr/local/Cellar/root/${ROOT_VERSION}
export PATH=${PWD}/bin:$(brew --cellar python@3.8)/$(ls $(brew --cellar python@3.8))/bin:${PATH}
Expand All @@ -90,15 +90,15 @@ jobs:
# Upload notebooks
- name: Upload notebooks
if: always()
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: notebooks macOS
path: examples/*.html

# Run Pylint
- name: Run Pylint
if: always()
if: ${{ always() }}
run: |
python3 -m pip install pytest ipykernel papermill
python3 -m pip install -e .
Expand Down Expand Up @@ -135,23 +135,23 @@ jobs:
# Save notebooks
- name: Save notebooks
if: always()
if: ${{ always() }}
run: |
source root/bin/thisroot.sh
export PATH=$PATH:~/.local/bin
source ~/.bash_profile
jupyter nbconvert --ExecutePreprocessor.timeout=600 --ExecutePreprocessor.kernel_name=python2 --ExecutePreprocessor.allow_errors=True --to html --execute examples/*.ipynb
# Upload notebooks
- name: Upload notebooks
if: always()
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: notebooks py27
path: examples/*.html

# Run pylint
- name: Run Pylint
if: always()
if: ${{ always() }}
run: |
python -m pylint hepdata_lib/*.py
python -m pylint tests/*.py --rcfile=tests/pylintrc

0 comments on commit 6af9a35

Please sign in to comment.