Skip to content

Commit

Permalink
Bump version and add windows job (#339)
Browse files Browse the repository at this point in the history
* Bump version to v0.5.1

Signed-off-by: Emanuel Lima <emanuel-lima@outlook.com>

* Add windows workflow on the CI pipeline

Signed-off-by: Emanuel Lima <emanuel-lima@outlook.com>

---------

Signed-off-by: Emanuel Lima <emanuel-lima@outlook.com>
  • Loading branch information
emanuellima1 authored Dec 21, 2023
1 parent 8948757 commit 13ad507
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 136 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/cadcad-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,43 @@ permissions:
contents: read

jobs:
windows-build:
continue-on-error: true

runs-on: windows-latest

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install test and build dependencies
run: |
python -m pip install --upgrade pip
python -m pip install jupyter
pip install -r requirements.txt
- name: Build cadCAD
shell: cmd
run: |
python setup.py bdist_wheel
for %%x in ("dist\*.whl") do python -m pip install %%x --force-reinstall
- name: Run tests
run: |
python -m pytest
build:
continue-on-error: true

Expand Down
Loading

0 comments on commit 13ad507

Please sign in to comment.