Skip to content

Commit

Permalink
Merge pull request #316 from randomir/feature/drop-appveyor
Browse files Browse the repository at this point in the history
Drop AppVeyor in favor of CircleCI for Windows tests
  • Loading branch information
randomir authored Dec 6, 2024
2 parents 3a2e661 + 83450e7 commit 5433046
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 24 deletions.
20 changes: 0 additions & 20 deletions .appveyor.yml

This file was deleted.

37 changes: 36 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: 2.1

orbs:
ocean: dwave/ocean@1
windows: circleci/[email protected]

environment:
PIP_PROGRESS_BAR: 'off'
Expand Down Expand Up @@ -60,6 +61,31 @@ jobs:

- ocean/coverage-run-unittest

test-windows:
parameters:
python-version:
type: string

executor:
name: windows/default

steps:
- checkout

- ocean/nuget-install-python:
python-version: << parameters.python-version >>
cache: true

- ocean/pip-install:
requirements: tests/requirements.txt
cache: false

- ocean/pip-install:
packages: .
cache: false

- ocean/coverage-run-unittest

test-individual-pkgs:
docker:
- image: python:3.12
Expand Down Expand Up @@ -206,11 +232,16 @@ workflows:
- test-linux:
matrix:
parameters:
python-version: &python-versions ["3.9.19", "3.10.14", "3.11.9", "3.12.3", "3.13.0"]
python-version: &python-versions ["3.9.21", "3.10.16", "3.11.11", "3.12.8", "3.13.1"]
- test-macos:
matrix:
parameters:
python-version: *python-versions
- test-windows:
matrix:
parameters:
# note: limit to versions available via nuget
python-version: &python-versions-windows ["3.9.13", "3.10.11", "3.11.9", "3.12.8", "3.13.1"]
# - test-individual-pkgs
- test-doctest

Expand All @@ -235,4 +266,8 @@ workflows:
matrix:
parameters:
python-version: *python-versions
- test-windows:
matrix:
parameters:
python-version: *python-versions-windows
- test-doctest
3 changes: 0 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
.. image:: https://readthedocs.com/projects/d-wave-systems-dwave-ocean-sdk/badge
:target: https://docs.ocean.dwavesys.com

.. image:: https://ci.appveyor.com/api/projects/status/c8ofdgyiy4w38lu3?svg=true
:target: https://ci.appveyor.com/project/dwave-adtt/dwave-ocean-sdk

.. image:: https://circleci.com/gh/dwavesystems/dwave-ocean-sdk.svg?style=svg
:target: https://circleci.com/gh/dwavesystems/dwave-ocean-sdk

Expand Down

0 comments on commit 5433046

Please sign in to comment.