-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ghstack-poisoned]
- Loading branch information
Showing
3 changed files
with
26 additions
and
39 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,7 @@ | ||
import pathlib | ||
import yaml | ||
|
||
for path in pathlib.Path(".").glob("**/*.yml"): | ||
print(path) | ||
with open(path) as f: | ||
yaml.load(f, Loader=yaml.FullLoader) |
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 |
---|---|---|
|
@@ -64,34 +64,17 @@ jobs: | |
#pip install --progress-bar off --use-deprecated=legacy-resolver repo/nevergrad-build/dist/nevergrad-*any.whl | ||
echo "Installed wheel" | ||
python -c "from nevergrad import functions;f = functions.ArtificialFunction(name='sphere', block_dimension=2);f([2, 3])" | ||
# - uses: actions/[email protected] | ||
# with: | ||
# path: nevergrad-build/dist | ||
# - name: Build docs | ||
# run: | | ||
# . venv/bin/activate | ||
# cd docs/ | ||
# make html | ||
# - uses: actions/[email protected] | ||
# with: | ||
# path: docs/_build/html | ||
# - name: Deploy documentation IF main | ||
# uses: peaceiris/actions-gh-pages@v3 | ||
# with: | ||
# github_token: ${{ secrets.GITHUB_TOKEN }} | ||
# publish_dir: docs/build/html | ||
# if: github.event_name != 'pull_request' | ||
- name: Build docs | ||
run: | | ||
. venv/bin/activate | ||
cd docs/ | ||
make html | ||
- name: Upload static files as artifact | ||
id: deployment | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: docs/_build/html/ | ||
if: github.event_name != 'pull_request' | ||
- name: Build docs | ||
run: | | ||
. venv/bin/activate | ||
cd docs/ | ||
make html | ||
- name: Upload static files as artifact | ||
id: deployment | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: docs/_build/html/ | ||
if: github.event_name != 'pull_request' | ||
deploy-docs: | ||
environment: | ||
name: github-pages | ||
|
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