-
Notifications
You must be signed in to change notification settings - Fork 6
68 lines (63 loc) · 1.97 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: CI
on: [ pull_request ]
jobs:
# pre-commit:
# runs-on: ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: "3.12"
# - uses: pre-commit/[email protected]
#
# fast-tests:
# runs-on: ubuntu-24.04
# needs: [ pre-commit ]
# steps:
# - uses: actions/checkout@v4
# - name: DWYU Unit tests
# run: bazel test //...
# - name: Aspect integration tests scripts unittests
# run: ./scripts/test_aspect_tests_scripts.sh
# - name: Build examples
# run: ./scripts/build_examples.sh
integration-tests-examples:
strategy:
matrix:
#os: [ ubuntu-24.04, macos-15, windows-2022 ]
os: [ windows-2022 ]
runs-on: ${{ matrix.os }}
#needs: [ fast-tests ]
steps:
- uses: actions/checkout@v4
- name: Integration tests - Examples
run: python examples/test.py
- name: Integration tests - Examples with legacy WORKSPACE setup
run: python examples/test.py --legacy-workspace
# integration-tests-aspect:
# strategy:
# matrix:
# os: [ ubuntu-24.04, macos-15, windows-2022 ]
# runs-on: ${{ matrix.os }}
# needs: [ fast-tests, integration-tests-examples ]
# steps:
# - uses: actions/checkout@v4
# - name: Integration tests - Aspect
# if: runner.os != 'Windows'
# run: python test/aspect/execute_tests.py
# - name: Integration tests - Aspect
# if: runner.os == 'Windows'
# run: python test/aspect/execute_tests.py -b 7.0.0 -p 3.8.18
# integration-tests-apply-fixes:
# strategy:
# matrix:
# os: [ ubuntu-24.04, macos-15, windows-2022 ]
# runs-on: ${{ matrix.os }}
# needs: [ fast-tests ]
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/prepare_buildozer
# with:
# version: '7.3.1'
# - name: Integration tests - Applying fixes
# run: python test/apply_fixes/execute_tests.py