Skip to content

Commit

Permalink
Merge pull request #264 from mdekstrand/fix/test-runs
Browse files Browse the repository at this point in the history
Revise dependency specifications
  • Loading branch information
mdekstrand authored Jun 17, 2021
2 parents 29a6d3b + 63765bb commit 2e7de3a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2,962 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
uses: s-weigand/setup-conda@v1
with:
python-version: ${{matrix.python}}
update-conda: true
conda-channels: conda-forge

- name: Prepare Conda environment spec
Expand All @@ -46,7 +47,7 @@ jobs:
if [ $RUNNER = Linux -a $PYVER = 3.8 ]; then
echo "Using most extras"
# we'll test tensorflow in a separate run
e_opts="-E demo -E implicit -E sklearn"
e_opts="-E implicit -E sklearn"
fi
python build-tools/flit-conda.py $e_opts --python-version $PYVER --save-env environment.yml
cat environment.yml
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
uses: s-weigand/setup-conda@v1
with:
python-version: '3.8'
update-conda: true
conda-channels: conda-forge

- name: Prepare Conda environment spec
Expand Down Expand Up @@ -167,6 +169,7 @@ jobs:
uses: s-weigand/setup-conda@v1
with:
python-version: '3.8'
update-conda: true
conda-channels: conda-forge

- name: Prepare Conda environment spec
Expand Down Expand Up @@ -211,9 +214,9 @@ jobs:
cp doc/*.ipynb data
python -m pytest --nbval-lax --cov=lenskit --cov-append data --log-file test-docs.log
- name: Validate Examples
run: |
python -m pytest --nbval-lax --cov=lenskit --cov-append examples --log-file test-examples.log
# - name: Validate Examples
# run: |
# python -m pytest --nbval-lax --cov=lenskit --cov-append examples --log-file test-examples.log

- name: Upload logs
uses: actions/upload-artifact@v2
Expand Down
1 change: 0 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
# ones.
extensions = [
'nbsphinx',
'recommonmark',
'sphinx.ext.napoleon',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
Expand Down
Loading

0 comments on commit 2e7de3a

Please sign in to comment.