Skip to content

Commit

Permalink
CI: Use flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Feb 17, 2023
1 parent 550d690 commit ad5ba9b
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 123 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ jobs:
conda-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-version: latest
- name: Build
shell: bash -l {0}
run: |
conda install -y openturns numpy pytest numpydoc sphinx sphinx-gallery pandoc
conda install -c conda-forge sphinx_rtd_theme
conda install -y openturns numpy pytest numpydoc sphinx sphinx-gallery sphinx_rtd_theme pandoc flake8
flake8 --max-line-length=120
python setup.py install
pytest
sudo apt install -y texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra
Expand All @@ -30,4 +30,4 @@ jobs:
git add -A .
if test `git diff HEAD | wc -c` -eq 0; then exit 0; fi
git commit -a -m "GitHub Actions build ${GITHUB_REPOSITORY} ${GITHUB_RUN_ID}"
git push --quiet origin main > /dev/null 2>&1
git push --quiet origin main > /dev/null 2>&1
Loading

0 comments on commit ad5ba9b

Please sign in to comment.