Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Dec 9, 2024
1 parent 5008667 commit 7949cde
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
SIMCLOUD_APIKEY: ${{ secrets.SIMCLOUD_APIKEY }}
run: |
make uv
make install
make install test-data
uv run jb build docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
23 changes: 17 additions & 6 deletions .github/workflows/test_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,28 @@ jobs:
run: uv run pytest gplugins/${{ matrix.plugin }}
test_code_coverage:
runs-on: ubuntu-latest
container: ghcr.io/gdsfactory/gdsfactory:main
steps:
- uses: actions/checkout@v4
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
activate-environment: env
use-mamba: true
python-version: "3.11"
- name: Add conda to system path
run: |
echo $CONDA/bin >> $GITHUB_PATH
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install dependencies
env:
UV_SYSTEM_PYTHON: 1
run: |
make uv
sudo apt-get install -y libglu1-mesa
make uv venv test-data
make install
- name: Run tests
env:
SIMCLOUD_APIKEY: ${{ secrets.SIMCLOUD_APIKEY }}
GDSFACTORY_DISPLAY_TYPE: klayout
- name: Test with pytest
run: |
uv run pytest --cov=gplugins
- name: Upload coverage to Codecov
Expand Down

0 comments on commit 7949cde

Please sign in to comment.