fix(tests): preserve graph capture capability resolver closure #754
This file contains hidden or 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
| name: AIdocs | ||
|
Check failure on line 1 in .github/workflows/AIdocs.yml
|
||
| on: | ||
| # pull_request: | ||
| # branches: | ||
| # - main | ||
| push: | ||
| branches: | ||
| - main | ||
| merge_group: | ||
| branches: [ main ] | ||
| jobs: | ||
| blds: | ||
| if: ${{ github.repository == 'uncscode/particula' }} | ||
| runs-on: ubuntu-latest | ||
| concurrency: | ||
| group: aidocs-${{ github.head_ref || github.ref_name }} | ||
| cancel-in-progress: true | ||
| steps: | ||
| - name: Check out code | ||
| uses: actions/checkout@v7 | ||
| with: | ||
| persist-credentials: false | ||
| fetch-depth: 0 # Fetch recent commits history, used to find changed files | ||
| - name: Set up Python 3.12 | ||
| uses: actions/setup-python@v7.0.0 | ||
| with: | ||
| python-version: '3.12' | ||
| cache: 'pip' # caching pip dependencies | ||
| - name: Install dependencies | ||
| run: | | ||
| pip install griffe nbconvert openai GitPython | ||
| - name: Markdown Files for vector store on OpenAI | ||
| run: python docs/.assets/vector_file_generator.py | ||
| - name: Refresh Changed Files on OpenAI | ||
| # run: python docs/.assets/vector_store_upload.py | ||
| env: | ||
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
| VECTOR_STORE_ID: ${{ secrets.VECTOR_STORE_ID }} | ||