Skip to content

Commit fedd0fd

Browse files
committed
fix: ci
1 parent e3b6181 commit fedd0fd

File tree

3 files changed

+31
-10
lines changed

3 files changed

+31
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,21 @@ jobs:
2424
with:
2525
python-version: "3.10"
2626

27+
- name: Free disk space
28+
run: |
29+
sudo rm -rf /usr/share/dotnet
30+
sudo rm -rf /usr/local/lib/android
31+
sudo rm -rf /opt/ghc
32+
sudo rm -rf "/usr/local/share/boost"
33+
2734
- name: Install dependencies
2835
run: |
29-
pip install pytest
30-
pip install -r requirements.txt
36+
pip install --no-cache-dir pytest
37+
pip install --no-cache-dir -r requirements.txt
3138
sudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6 -y
3239
3340
- name: Build and install
34-
run: pip install .
41+
run: pip install --no-cache-dir .
3542

3643
- name: Run tests
3744
# run: python -m pytest

.github/workflows/pip.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,16 @@ jobs:
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

28+
- name: Free disk space
29+
run: |
30+
sudo rm -rf /usr/share/dotnet
31+
sudo rm -rf /usr/local/lib/android
32+
sudo rm -rf /opt/ghc
33+
sudo rm -rf "/usr/local/share/boost"
34+
2835
- name: Upgrade setuptools and wheel
2936
run: |
30-
pip install --upgrade setuptools wheel
37+
pip install --no-cache-dir --upgrade setuptools wheel
3138
3239
- name: Install dependencies on Ubuntu
3340
if: runner.os == 'Linux'
@@ -51,12 +58,12 @@ jobs:
5158

5259
- name: Install Python dependencies
5360
run: |
54-
pip install pytest
55-
pip install -r requirements.txt
61+
pip install --no-cache-dir pytest
62+
pip install --no-cache-dir -r requirements.txt
5663
sudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6 -y
5764
5865
- name: Build and install
59-
run: pip install .
66+
run: pip install --no-cache-dir .
6067

6168
- name: Test
6269
run: python -m pytest tests/ -s

.github/workflows/release.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,16 @@ jobs:
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

24+
- name: Free disk space
25+
run: |
26+
sudo rm -rf /usr/share/dotnet
27+
sudo rm -rf /usr/local/lib/android
28+
sudo rm -rf /opt/ghc
29+
sudo rm -rf "/usr/local/share/boost"
30+
2431
- name: Upgrade setuptools and wheel
2532
run: |
26-
pip install --upgrade setuptools wheel
33+
pip install --no-cache-dir --upgrade setuptools wheel
2734
2835
- name: Install dependencies on Ubuntu
2936
if: runner.os == 'Linux'
@@ -47,8 +54,8 @@ jobs:
4754

4855
- name: Install Python dependencies
4956
run: |
50-
pip install pytest
51-
pip install -r requirements.txt
57+
pip install --no-cache-dir pytest
58+
pip install --no-cache-dir -r requirements.txt
5259
sudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6 -y
5360
5461
- name: Build source distribution

0 commit comments

Comments
 (0)