-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2118 from PrincetonUniversity/devel
Devel
- Loading branch information
Showing
16 changed files
with
214 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
version: '{build}' | ||
branches: | ||
except: | ||
- gh-pages | ||
skip_tags: true | ||
skip_branch_with_pr: true | ||
clone_depth: 15 | ||
image: Ubuntu2004 | ||
environment: | ||
PIP_PROGRESS_BAR: off | ||
APPVEYOR_CONSOLE_DISABLE_PTY: true | ||
OMP_NUM_THREADS: 1 | ||
OPENBLAS_NUM_THREADS: 1 | ||
matrix: | ||
- PYTHON: python3.8 | ||
|
||
init: | ||
- ps: | | ||
sudo apt-get update | ||
sudo apt-get install -y --no-install-recommends build-essential graphviz git curl $Env:PYTHON-dev $Env:PYTHON-distutils $Env:PYTHON-venv | ||
sudo update-alternatives --install /usr/bin/python python /usr/bin/$Env:PYTHON 10 | ||
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/$Env:PYTHON 10 | ||
sudo update-alternatives --set python /usr/bin/$Env:PYTHON | ||
sudo update-alternatives --set python3 /usr/bin/$Env:PYTHON | ||
install: | ||
- ps: | | ||
python -m venv venv | ||
venv/bin/Activate.ps1 | ||
echo "#!/bin/sh" > venv/bin/xdg-open | ||
chmod +x venv/bin/xdg-open | ||
pip --version | ||
pip install -U pip wheel cython | ||
pip install -U coveralls | ||
pip install -U -e .[dev] | ||
build: off | ||
|
||
test_script: | ||
- ps: | | ||
if (Test-Path Env:\COVERALLS_REPO_TOKEN ) { | ||
$Env:COV="--cov=psyneulink" | ||
} | ||
python -m pytest --junit-xml=tests_out.xml $Env:COV --verbosity=0 --capture=sys -o console_output_style=count | ||
on_success: | ||
- ps: | | ||
if (Test-Path Env:\COVERALLS_REPO_TOKEN ) { | ||
coveralls | ||
} | ||
on_finish: | ||
- ps: curl -X POST -F "file=@tests_out.xml" https://ci.appveyor.com/api/testresults/junit/$Env:APPVEYOR_JOB_ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,14 +94,26 @@ jobs: | |
run: git tag 'v999.999.999.999' | ||
|
||
- name: Build Documentation | ||
run: sphinx-build -b html -aE -j auto docs/source pnl-html | ||
run: make -C docs/ html -e SPHINXOPTS="-aE -j auto" | ||
|
||
- name: Upload Documentation | ||
uses: actions/[email protected] | ||
with: | ||
name: Documentation-${{matrix.pnl-version}}-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.python-architecture }} | ||
retention-days: 1 | ||
path: pnl-html | ||
path: docs/build/html | ||
|
||
- name: Store PR number | ||
if: ${{ github.event_name == 'pull_request' }} | ||
run: echo ${{ github.event.pull_request.number }} > ./pr_number.txt | ||
|
||
- name: Upload PR number for other workflows | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: actions/[email protected] | ||
with: | ||
name: pr_number | ||
path: ./pr_number.txt | ||
|
||
|
||
docs-deploy: | ||
strategy: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.