Skip to content

Commit 4cb21b0

Browse files
committed
Update CI to reflect new organization.
1 parent 07c9835 commit 4cb21b0

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
python3 -m venv venv
1818
source venv/bin/activate
1919
pip install --upgrade pip wheel setuptools
20-
pip install -r site/requirements.txt -r requirements.txt
20+
pip install -r requirements.txt
2121
2222
- restore_cache:
2323
keys:
@@ -32,18 +32,18 @@ jobs:
3232
source venv/bin/activate
3333
# n = nitpicky (broken links), W = warnings as errors,
3434
# T = full tracebacks, keep-going = run to completion even with errors
35-
make -C site/ SPHINXOPTS="-nWT --keep-going" html
35+
make SPHINXOPTS="-nWT --keep-going" html
3636
3737
- save_cache:
3838
key: cache-data
3939
paths:
4040
- _data
4141

4242
- store_artifacts:
43-
path: site/_build/html
43+
path: _build/html
4444

4545
- persist_to_workspace:
46-
root: site/_build
46+
root: _build
4747
paths: html
4848

4949
deploy-docs:
@@ -54,7 +54,7 @@ jobs:
5454
- checkout
5555

5656
- attach_workspace:
57-
at: site/_build
57+
at: _build
5858

5959
- run:
6060
name: install deploy deps
@@ -75,7 +75,7 @@ jobs:
7575
- run:
7676
name: deploy to gh-pages
7777
command: |
78-
ghp-import -n -f -p -m "[skip ci] docs build of $CIRCLE_SHA1" site/_build/html
78+
ghp-import -n -f -p -m "[skip ci] docs build of $CIRCLE_SHA1" _build/html
7979
8080
8181
workflows:

.github/workflows/conda.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
run: |
3939
conda info
4040
conda list
41-
make -C site/ SPHINXOPTS="-nWT --keep-going" html
41+
make SPHINXOPTS="-nWT --keep-going" html
4242
4343
- uses: actions/upload-artifact@v3
4444
with:
4545
name: sphinx-build-artifact
46-
path: site/_build/html/reports
46+
path: _build/html/reports
4747

4848
- name: fail on build errors
4949
if: steps.build_step.outcome != 'success'

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ deps =
1212
# We use these files to specify all the dependencies, and below we override
1313
# versions for specific testing schenarios
1414
-rtest_requirements.txt
15-
-rsite/requirements.txt
1615
-rrequirements.txt
1716

1817
# TODO: add the oldest supported versions of all the dependencies here
@@ -33,7 +32,7 @@ commands =
3332
!buildhtml: bash -c 'find content -name "*.md" | grep -vf ignore_testing | xargs jupytext --to notebook '
3433

3534
!buildhtml: pytest --nbval-lax --durations=10 content/
36-
buildhtml: make -C site/ SPHINXOPTS="-nWT --keep-going" html
35+
buildhtml: make -C SPHINXOPTS="-nWT --keep-going" html
3736

3837
pip_pre =
3938
predeps: true

0 commit comments

Comments
 (0)