Skip to content

Commit

Permalink
🔧 Run tests on the corresponding python-poetry version
Browse files Browse the repository at this point in the history
  • Loading branch information
daquinteroflex authored and tylerflex committed Jun 18, 2024
1 parent 8bc15bb commit fdb45ea
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
fi
build:
name: test ${{ matrix.python-version }} - ${{ matrix.platform }}
name: Python ${{ matrix.python-version }} - ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
matrix:
Expand All @@ -120,6 +120,7 @@ jobs:
env: # Set environment variables for the whole job
PIP_ONLY_BINARY: gdstk
MPLBACKEND: agg

steps:
- uses: actions/checkout@v4

Expand All @@ -133,12 +134,19 @@ jobs:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

#----------------------------------------------
# install your root project, if required
#----------------------------------------------
- name: Install library
run: |
poetry --version
poetry env use python
poetry env info
poetry run pip install --upgrade pip wheel setuptools
poetry run pip install gdstk --only-binary gdstk
poetry install -E dev
Expand Down

0 comments on commit fdb45ea

Please sign in to comment.