Skip to content

Commit

Permalink
Merge pull request #7 from lightwave-lab/development
Browse files Browse the repository at this point in the history
Preparing version 22.08 (Maintenance updates)
  • Loading branch information
thomaslima authored Aug 22, 2022
2 parents cc49eb1 + 7ab3ff2 commit fbd5c42
Show file tree
Hide file tree
Showing 31 changed files with 677 additions and 25,206 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,24 @@ on:
types: [created]

jobs:
deploy:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
- name: Test with pytest
run: |
pytest
deploy:
needs: build
runs-on: ubuntu-latest

steps:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test packages

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
- name: Typechecking
run: |
mypy zeropdk
- name: Test with pytest
run: |
pytest -s
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cov.xml

# Created by https://www.gitignore.io/api/python,macos,windows,linux
# Edit at https://www.gitignore.io/?templates=python,macos,windows,linux
Expand Down
2 changes: 2 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
numpy
scipy
pytest
pytest-cov
klayout
mypy
Loading

0 comments on commit fbd5c42

Please sign in to comment.