Skip to content

Commit 4447f75

Browse files
authored
ci: testing in windows (#4419)
1 parent d2eabe7 commit 4447f75

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.circleci/continue_config.yml

Lines changed: 36 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,38 @@ 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 make
118+
command: choco install make -y
119+
- run:
120+
name: Install SQLMesh dev dependencies
121+
command: make install-dev
122+
- run:
123+
name: Fix Git URL override
124+
command: git config --global --unset url."ssh://git@github.com".insteadOf
125+
# - run:
126+
# name: Run linters and code style checks
127+
# command: make py-style
128+
- run:
129+
name: Run cicd tests
130+
command: pytest -n auto -m "fast" --junitxml=test-results/junit-cicd.xml tests/lsp
131+
- store_test_results:
132+
path: test-results
133+
99134
migration_test:
100135
docker:
101136
- image: cimg/python:3.10
@@ -269,6 +304,7 @@ workflows:
269304
- "3.10"
270305
- "3.11"
271306
- "3.12"
307+
- style_and_cicd_tests_windows
272308
- engine_tests_docker:
273309
name: engine_<< matrix.engine >>
274310
matrix:

0 commit comments

Comments
 (0)