Skip to content

Commit

Permalink
Preparing new version
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslima committed Aug 22, 2022
1 parent f9936f8 commit 7ab3ff2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 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
11 changes: 7 additions & 4 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.7
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
pytest -s
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ scipy
pytest
pytest-cov
klayout
mypy

0 comments on commit 7ab3ff2

Please sign in to comment.