Skip to content

Commit

Permalink
Merge branch 'aryan_valid_pag' of github.com:aryan26roy/pywhy-graphs …
Browse files Browse the repository at this point in the history
…into aryan_valid_pag
  • Loading branch information
aryan26roy committed Jul 14, 2024
2 parents 850152b + 694626a commit 0a03535
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
command: |
sudo apt-get install nvidia-cuda-toolkit nvidia-cuda-toolkit-gcc
- run:
name: Install dowhy
name: Install dodiscover
command: |
git clone https://github.com/py-why/dodiscover.git
cd dodiscover
Expand All @@ -107,15 +107,14 @@ jobs:
command: |
python -c "import pywhy_graphs;"
python -c "import numpy; numpy.show_config()"
python -c "import dowhy;"
python -c "import dodiscover;"
LIBGL_DEBUG=verbose python -c "import matplotlib.pyplot as plt; plt.figure()"
# dowhy currently requires an older version of numpy
- run:
name: Temporary Hack for numpy
command: |
python -m pip install numpy==1.22.0
# - run:
# name: Temporary Hack for numpy
# command: |
# python -m pip install numpy==1.22.0

- run:
name: Build documentation
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/circle_artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
name: CircleCI artifacts redirector
on: [status]

# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this
# github actions workflow:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions: read-all

jobs:
circleci_artifacts_redirector_job:
if: "${{ startsWith(github.event.context, 'ci/circleci: build_doc') }}"
runs-on: ubuntu-20.04
if: "github.repository == 'py-why/pywhy-graphs' && github.event.context == 'ci/circleci: build_doc'"
permissions:
statuses: write
name: Run CircleCI artifacts redirector
steps:
- name: GitHub Action step
uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLECI_TOKEN }}
artifact-path: 0/dev/index.html
circleci-jobs: build_doc
job-title: Check the rendered docs here!

- name: Check the URL
if: github.event.status != 'pending'
run: |
curl --fail ${{ steps.step1.outputs.url }} | grep $GITHUB_SHA
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ doc = [
'graphviz',
'pygraphviz',
'pgmpy',
'dowhy',
]
style = [
"pre-commit",
Expand Down

0 comments on commit 0a03535

Please sign in to comment.