Skip to content

Commit

Permalink
Update run-layout-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc committed Dec 12, 2023
1 parent 96de111 commit 92bf205
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/run-layout-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run SiEPIC-Tool Layout tests
name: Run SiEPIC-Tools Layout tests

on:
workflow_dispatch:
Expand All @@ -22,8 +22,12 @@ jobs:
uses: actions/checkout@v3

# can also specify python version if needed
- name: setup python
- name: setup python, 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: "pip"
cache-dependency-path: pyproject.toml

- name: install python packages
run: |
Expand All @@ -40,3 +44,18 @@ jobs:
files: ./coverage.xml
fail_ci_if_error: true

- name: setup python, 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: "pip"
cache-dependency-path: pyproject.toml

- name: install python packages
run: |
python -m pip install --upgrade pip
pip install klayout numpy scipy pytest pytest-cov SiEPIC
- name: Test with pytest
run: pytest --cov=klayout/siepic_ebeam_pdk klayout/siepic_ebeam_pdk --cov-report=xml

0 comments on commit 92bf205

Please sign in to comment.