@@ -43,66 +43,91 @@ concurrency:
4343 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
4444
4545jobs :
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+ # - name: Install poetry
55+ # run: make install-poetry
56+ # - uses: actions/setup-python@v6
57+ # with:
58+ # python-version: ${{ matrix.python }}
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
54- - name : Install poetry
55- run : make install-poetry
56- - uses : actions/setup-python@v6
118+ - name : Install Python
119+ uses : actions/setup-python@v6
57120 with :
58121 python-version : ${{ matrix.python }}
59- - name : Install system dependencies
60- run : sudo apt-get update && sudo apt-get install -y libkrb5-dev # for kerberos
61- - name : Install
122+ - name : Install Make
123+ run : choco install make
124+ shell : powershell
125+ - name : Install dependencies
62126 run : make install-dependencies
63- - name : Run linters
64- run : make lint
127+ shell : bash
65128 - name : Run unit tests with coverage
66129 run : COVERAGE=1 make test
67- - name : Generate coverage report (85%) # Coverage threshold should only increase over time — never decrease it!
130+ shell : bash
131+ - name : Generate coverage report (85%)
68132 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
133+ shell : bash
0 commit comments