|
53 | 53 | uses: actions/setup-python@v5
|
54 | 54 | with:
|
55 | 55 | python-version: "3.9"
|
| 56 | + - name: Setup conda env (windows) |
| 57 | + if: ${{ matrix.os == 'windows-latest' }} |
| 58 | + uses: conda-incubator/setup-miniconda@v2 |
| 59 | + with: |
| 60 | + auto-update-conda: true |
| 61 | + miniconda-version: "latest" |
| 62 | + activate-environment: test |
| 63 | + python-version: "3.9" |
| 64 | + - name: Setup FFmpeg (windows) |
| 65 | + if: ${{ matrix.os == 'windows-latest' }} |
| 66 | + run: conda install "ffmpeg=7.0.1" -c conda-forge |
56 | 67 | - name: Upgrade pip
|
57 | 68 | run: python -m pip install --upgrade pip
|
58 | 69 | - name: Install uv
|
@@ -86,11 +97,22 @@ jobs:
|
86 | 97 | if: ${{ matrix.os == 'ubuntu-latest' }}
|
87 | 98 | run: |
|
88 | 99 | sudo apt update
|
89 |
| - sudo apt install -y ffmpeg |
| 100 | + sudo apt install -y ffmpeg |
90 | 101 | - name: Set up Python 3.11
|
91 | 102 | uses: actions/setup-python@v5
|
92 | 103 | with:
|
93 | 104 | python-version: "3.11"
|
| 105 | + - name: Setup conda env (windows) |
| 106 | + if: ${{ matrix.os == 'windows-latest' }} |
| 107 | + uses: conda-incubator/setup-miniconda@v2 |
| 108 | + with: |
| 109 | + auto-update-conda: true |
| 110 | + miniconda-version: "latest" |
| 111 | + activate-environment: test |
| 112 | + python-version: "3.11" |
| 113 | + - name: Setup FFmpeg (windows) |
| 114 | + if: ${{ matrix.os == 'windows-latest' }} |
| 115 | + run: conda install "ffmpeg=7.0.1" -c conda-forge |
94 | 116 | - name: Upgrade pip
|
95 | 117 | run: python -m pip install --upgrade pip
|
96 | 118 | - name: Install uv
|
@@ -123,6 +145,17 @@ jobs:
|
123 | 145 | uses: actions/setup-python@v5
|
124 | 146 | with:
|
125 | 147 | python-version: "3.11"
|
| 148 | + - name: Setup conda env (windows) |
| 149 | + if: ${{ matrix.os == 'windows-latest' }} |
| 150 | + uses: conda-incubator/setup-miniconda@v2 |
| 151 | + with: |
| 152 | + auto-update-conda: true |
| 153 | + miniconda-version: "latest" |
| 154 | + activate-environment: test |
| 155 | + python-version: "3.11" |
| 156 | + - name: Setup FFmpeg (windows) |
| 157 | + if: ${{ matrix.os == 'windows-latest' }} |
| 158 | + run: conda install "ffmpeg=7.0.1" -c conda-forge |
126 | 159 | - name: Upgrade pip
|
127 | 160 | run: python -m pip install --upgrade pip
|
128 | 161 | - name: Install uv
|
|
0 commit comments