Skip to content

Commit

Permalink
Add windows workflow on the CI pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuel Lima <emanuel-lima@outlook.com>
  • Loading branch information
emanuellima1 committed Dec 21, 2023
1 parent c5bebb3 commit fc42fe0
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/cadcad-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,42 @@ 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
run: |
python setup.py bdist_wheel
for %x in (dir dist\*.whl) do python -m pip install %x --force-reinstall
- name: Run tests
run: |
python -m pytest
build:
continue-on-error: true

Expand Down

0 comments on commit fc42fe0

Please sign in to comment.