Skip to content

Commit

Permalink
fix ci badge. try to fix failing gallery build on ga
Browse files Browse the repository at this point in the history
  • Loading branch information
ejolly committed Oct 6, 2021
1 parent c178885 commit b15eb85
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 23 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/auto_formatting_tests_and_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,22 +117,22 @@ jobs:
with:
python-version: "3.8"

- name: Upgrade pip
run: |
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip
- name: Setup pip-cache
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"

- name: Cache deps
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
# - name: Upgrade pip
# run: |
# # install pip=>20.1 to use "pip cache dir"
# python3 -m pip install --upgrade pip

# - name: Setup pip-cache
# id: pip-cache
# run: echo "::set-output name=dir::$(pip cache dir)"

# - name: Cache deps
# uses: actions/cache@v2
# with:
# path: ${{ steps.pip-cache.outputs.dir }}
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
# restore-keys: |
# ${{ runner.os }}-pip-

- name: Install deps
run: |
Expand Down
7 changes: 2 additions & 5 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ help:

clean:
rm -rf $(BUILDDIR)/*
rm -rf auto_examples/
rm -rf modules/generated/*

html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
Expand Down Expand Up @@ -191,11 +193,6 @@ pseudoxml:
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."

clean:
rm -rf $(BUILDDIR)/*
rm -rf auto_examples/
rm -rf modules/generated/*

html-noplot:
$(SPHINXBUILD) -D plot_gallery=0 -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ NLTools
.. image:: https://img.shields.io/pypi/v/nltools.svg
:target: https://pypi.org/project/nltools/

.. image:: https://github.com/cosanlab/nltools/actions/workflows/tests_and_coverage.yml/badge.svg
:target: https://github.com/cosanlab/nltools/actions/workflows/tests_and_coverage.yml
.. image:: https://github.com/cosanlab/nltools/actions/workflows/auto_formatting_tests_and_coverage.yml/badge.svg
:target: https://github.com/cosanlab/nltools/actions/workflows/auto_formatting_tests_and_coverage.yml

.. image:: https://codecov.io/gh/cosanlab/nltools/branch/master/graph/badge.svg
:target: https://codecov.io/gh/cosanlab/nltools
Expand Down

0 comments on commit b15eb85

Please sign in to comment.