|
22 | 22 | - name: Install Python |
23 | 23 | uses: actions/setup-python@v4 |
24 | 24 | with: |
25 | | - python-version: "3.12" |
| 25 | + python-version: "3.7" |
26 | 26 |
|
27 | 27 | - name: Install Python Dependencies |
28 | 28 | run: pip install flake8 |
@@ -56,14 +56,10 @@ jobs: |
56 | 56 | os: [ubuntu-latest, windows-latest, macos-13] |
57 | 57 | python: [cp37, cp38, cp39, cp310, cp311, cp312] |
58 | 58 |
|
59 | | - exclude: |
60 | | - # MacOS 14.4.1 for arm64 doesn't support Python < 3.8 |
61 | | - - os: macos-latest |
62 | | - python: "cp37" |
63 | 59 |
|
64 | 60 | include: |
65 | 61 | # Put coverage and results files in the project directory for mac |
66 | | - - os: macos-latest |
| 62 | + - os: macos-13 |
67 | 63 | cov_file: "{project}/dist/coverage.xml" |
68 | 64 | results_file: "{project}/dist/pytest-results.xml" |
69 | 65 | # And for windows |
|
74 | 70 | - os: ubuntu-latest |
75 | 71 | cov_file: /output/coverage.xml |
76 | 72 | results_file: /output/pytest-results.xml |
77 | | - # MacOS 13 required for Python < 3.8 |
78 | | - - os: macos-13 |
79 | | - python: "cp37" |
80 | | - cov_file: "{project}/dist/coverage.xml" |
81 | | - results_file: "{project}/dist/pytest-results.xml" |
82 | 73 |
|
83 | 74 | name: build/${{ matrix.os }}/${{ matrix.python }} |
84 | 75 | runs-on: ${{ matrix.os }} |
@@ -126,23 +117,6 @@ jobs: |
126 | 117 | name: ${{ matrix.os }}/${{ matrix.python }} |
127 | 118 | directory: dist |
128 | 119 |
|
129 | | - publish-test-results: |
130 | | - name: Publish Unit Tests Results |
131 | | - needs: build |
132 | | - runs-on: ubuntu-latest |
133 | | - if: always() |
134 | | - |
135 | | - steps: |
136 | | - - name: Download Artifacts |
137 | | - uses: actions/download-artifact@v4 |
138 | | - with: |
139 | | - path: artifacts |
140 | | - |
141 | | - - name: Publish Unit Test Results |
142 | | - uses: EnricoMi/publish-unit-test-result-action@v1 |
143 | | - with: |
144 | | - files: artifacts/**/*.xml |
145 | | - |
146 | 120 | test-sdist: |
147 | 121 | needs: [sdist] |
148 | 122 | strategy: |
|
0 commit comments