|
31 | 31 | runs-on: ${{ matrix.os }} |
32 | 32 | strategy: |
33 | 33 | matrix: |
34 | | - os: [macos-13, ubuntu-latest] |
| 34 | + os: [macos-14, ubuntu-latest] |
35 | 35 | python-version: ['3.10'] |
36 | 36 | flavour: ['all'] |
37 | 37 |
|
|
48 | 48 | - name: "Compile Dependency Versions" |
49 | 49 | run: | |
50 | 50 | curl -LsSf https://astral.sh/uv/install.sh | sh |
51 | | - if [ "${{ matrix.os }}" == "macos-13" ]; then |
52 | | - source $HOME/.local/bin/env |
53 | | - fi |
54 | 51 | uv pip compile requirements/dev-all.txt requirements/optional.txt > requirements-latest.txt |
55 | 52 |
|
56 | 53 | - name: "Cache python environment" |
|
69 | 66 | # install latest dependencies (potentially updating cached dependencies) |
70 | 67 | pip install -U -r requirements/dev-all.txt -r requirements/optional.txt |
71 | 68 |
|
72 | | - - name: "Install libomp (for LightGBM)" |
73 | | - run: | |
74 | | - ./.github/scripts/libomp-${{ runner.os }}.sh |
75 | | -
|
76 | 69 | - name: "Run tests" |
77 | 70 | run: | |
78 | 71 | pytest --durations=50 --cov=darts --cov-config=.coveragerc --cov-report=xml darts/tests |
@@ -122,10 +115,6 @@ jobs: |
122 | 115 | # install latest dependencies (potentially updating cached dependencies) |
123 | 116 | pip install -U -r requirements/dev-all.txt -r requirements/optional.txt |
124 | 117 |
|
125 | | - - name: "Install libomp (for LightGBM)" |
126 | | - run: | |
127 | | - ./.github/scripts/libomp-${{ runner.os }}.sh |
128 | | -
|
129 | 118 | - name: "Install Locally" |
130 | 119 | run: | |
131 | 120 | pip install . |
@@ -171,10 +160,6 @@ jobs: |
171 | 160 | # install latest dependencies (potentially updating cached dependencies) |
172 | 161 | pip install -U -r requirements/dev-all.txt -r requirements/optional.txt |
173 | 162 |
|
174 | | - - name: "Install libomp (for LightGBM)" |
175 | | - run: | |
176 | | - ./.github/scripts/libomp-${{ runner.os }}.sh |
177 | | -
|
178 | 163 | - name: "Install Locally" |
179 | 164 | run: | |
180 | 165 | pip install . |
|
0 commit comments