Skip to content

Commit 5de8169

Browse files
committed
ci: testing in windows
1 parent d734869 commit 5de8169

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.circleci/continue_config.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ parameters:
1111
type: boolean
1212
default: false
1313

14+
orbs:
15+
windows: circleci/windows@5.0
16+
1417
commands:
1518
halt_unless_core:
1619
steps:
@@ -96,6 +99,35 @@ jobs:
9699
- store_test_results:
97100
path: test-results
98101

102+
style_and_cicd_tests_windows:
103+
executor:
104+
name: windows/default
105+
size: large
106+
environment:
107+
PYTEST_XDIST_AUTO_NUM_WORKERS: 4
108+
steps:
109+
- halt_unless_core
110+
- checkout
111+
- run:
112+
name: Install Python 3.9
113+
command: |
114+
choco install python --version=3.9 -y
115+
refreshenv
116+
- run:
117+
name: Install SQLMesh dev dependencies
118+
command: make install-dev
119+
- run:
120+
name: Fix Git URL override
121+
command: git config --global --unset url."ssh://git@github.com".insteadOf
122+
- run:
123+
name: Run linters and code style checks
124+
command: make py-style
125+
- run:
126+
name: Run cicd tests
127+
command: make cicd-test
128+
- store_test_results:
129+
path: test-results
130+
99131
migration_test:
100132
docker:
101133
- image: cimg/python:3.10
@@ -269,6 +301,7 @@ workflows:
269301
- "3.10"
270302
- "3.11"
271303
- "3.12"
304+
- style_and_cicd_tests_windows
272305
- engine_tests_docker:
273306
name: engine_<< matrix.engine >>
274307
matrix:

0 commit comments

Comments
 (0)