Update WAVEGUIDES.xml #31
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
name: Run SiEPIC-Tools Layout tests | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**' | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
- master | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
test_layouts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v3 | |
# can also specify python version if needed | |
- 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 3.10 packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install klayout numpy scipy pytest pytest-cov SiEPIC | |
- name: Test with pytest, Python 3.10 | |
run: pytest --cov=siepicfab_ebeam_zep siepicfab_ebeam_zep --cov-report=xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
if: github.repository_owner == 'SiEPIC' | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage.xml | |
fail_ci_if_error: false | |