Skip to content

Commit f6e09fa

Browse files
committed
run ci with windows
1 parent 92007bc commit f6e09fa

File tree

1 file changed

+76
-49
lines changed

1 file changed

+76
-49
lines changed

.github/workflows/python-ci.yml

Lines changed: 76 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -43,66 +43,93 @@ concurrency:
4343
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
4444

4545
jobs:
46-
lint-and-test:
47-
runs-on: ubuntu-22.04
46+
# lint-and-test:
47+
# runs-on: ubuntu-22.04
48+
# strategy:
49+
# matrix:
50+
# python: ['3.9', '3.10', '3.11', '3.12']
51+
52+
# steps:
53+
# - uses: actions/checkout@v5
54+
# - uses: actions/setup-python@v6
55+
# with:
56+
# python-version: ${{ matrix.python }}
57+
# - name: Install poetry
58+
# run: make install-poetry
59+
# - name: Install system dependencies
60+
# run: sudo apt-get update && sudo apt-get install -y libkrb5-dev # for kerberos
61+
# - name: Install
62+
# run: make install-dependencies
63+
# - name: Run linters
64+
# run: make lint
65+
# - name: Run unit tests with coverage
66+
# run: COVERAGE=1 make test
67+
# - name: Generate coverage report (85%) # Coverage threshold should only increase over time — never decrease it!
68+
# run: COVERAGE_FAIL_UNDER=85 make coverage-report
69+
70+
# integration-test:
71+
# runs-on: ubuntu-22.04
72+
# strategy:
73+
# matrix:
74+
# python: ['3.9', '3.10', '3.11', '3.12']
75+
76+
# steps:
77+
# - uses: actions/checkout@v5
78+
# - name: Install system dependencies
79+
# run: sudo apt-get update && sudo apt-get install -y libkrb5-dev # for kerberos
80+
# - name: Install
81+
# run: make install
82+
83+
# - name: Run integration tests with coverage
84+
# run: COVERAGE=1 make test-integration
85+
# - name: Show debug logs
86+
# if: ${{ failure() }}
87+
# run: docker compose -f dev/docker-compose.yml logs
88+
89+
# - name: Run s3 integration tests with coverage
90+
# run: COVERAGE=1 make test-s3
91+
# - name: Show debug logs
92+
# if: ${{ failure() }}
93+
# run: docker compose -f dev/docker-compose.yml logs
94+
95+
# - name: Run adls integration tests with coverage
96+
# run: COVERAGE=1 make test-adls
97+
# - name: Show debug logs
98+
# if: ${{ failure() }}
99+
# run: docker compose -f dev/docker-compose-azurite.yml logs
100+
101+
# - name: Run gcs integration tests with coverage
102+
# run: COVERAGE=1 make test-gcs
103+
# - name: Show debug logs
104+
# if: ${{ failure() }}
105+
# run: docker compose -f dev/docker-compose-gcs-server.yml logs
106+
107+
# - name: Generate coverage report (75%) # Coverage threshold should only increase over time — never decrease it!
108+
# run: COVERAGE_FAIL_UNDER=75 make coverage-report
109+
110+
make-test-windows:
111+
runs-on: windows-2022
48112
strategy:
49113
matrix:
50-
python: ['3.9', '3.10', '3.11', '3.12']
114+
python: ['3.12']
51115

52116
steps:
53117
- uses: actions/checkout@v5
118+
- name: Install Make
119+
run: choco install make
120+
shell: powershell
54121
- uses: actions/setup-python@v6
55122
with:
56123
python-version: ${{ matrix.python }}
57124
- name: Install poetry
58125
run: make install-poetry
59-
- name: Install system dependencies
60-
run: sudo apt-get update && sudo apt-get install -y libkrb5-dev # for kerberos
61-
- name: Install
126+
shell: bash
127+
- name: Install dependencies
62128
run: make install-dependencies
63-
- name: Run linters
64-
run: make lint
129+
shell: bash
65130
- name: Run unit tests with coverage
66131
run: COVERAGE=1 make test
67-
- name: Generate coverage report (85%) # Coverage threshold should only increase over time — never decrease it!
132+
shell: bash
133+
- name: Generate coverage report (85%)
68134
run: COVERAGE_FAIL_UNDER=85 make coverage-report
69-
70-
integration-test:
71-
runs-on: ubuntu-22.04
72-
strategy:
73-
matrix:
74-
python: ['3.9', '3.10', '3.11', '3.12']
75-
76-
steps:
77-
- uses: actions/checkout@v5
78-
- name: Install system dependencies
79-
run: sudo apt-get update && sudo apt-get install -y libkrb5-dev # for kerberos
80-
- name: Install
81-
run: make install
82-
83-
- name: Run integration tests with coverage
84-
run: COVERAGE=1 make test-integration
85-
- name: Show debug logs
86-
if: ${{ failure() }}
87-
run: docker compose -f dev/docker-compose.yml logs
88-
89-
- name: Run s3 integration tests with coverage
90-
run: COVERAGE=1 make test-s3
91-
- name: Show debug logs
92-
if: ${{ failure() }}
93-
run: docker compose -f dev/docker-compose.yml logs
94-
95-
- name: Run adls integration tests with coverage
96-
run: COVERAGE=1 make test-adls
97-
- name: Show debug logs
98-
if: ${{ failure() }}
99-
run: docker compose -f dev/docker-compose-azurite.yml logs
100-
101-
- name: Run gcs integration tests with coverage
102-
run: COVERAGE=1 make test-gcs
103-
- name: Show debug logs
104-
if: ${{ failure() }}
105-
run: docker compose -f dev/docker-compose-gcs-server.yml logs
106-
107-
- name: Generate coverage report (75%) # Coverage threshold should only increase over time — never decrease it!
108-
run: COVERAGE_FAIL_UNDER=75 make coverage-report
135+
shell: bash

0 commit comments

Comments
 (0)