Skip to content

Commit

Permalink
Free up disk space in CI (zenml-io#1863)
Browse files Browse the repository at this point in the history
* remove deepchecks tests from CI

* remove pytorch

* remove pytorch_lightning

* try tensorflow instead of pytorch

* formatting

* remove TF tests

* formatting

* try free ubuntu action

* refactor

* add skypilot back in

* install missing pkg and update tests

* add missing conditional to yaml

* with permissions

* remove tool cache as well
  • Loading branch information
strickvl authored Oct 6, 2023
1 parent 584e68b commit ed81f9a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/setup-python-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,27 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
if: ${{ inputs.os == 'ubuntu-latest' }}
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Reinstall packages needed for unit tests
if: ${{ inputs.os == 'ubuntu-latest' }}
run: sudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6 -y

- name: Setup environment
uses: ./.github/actions/setup_environment
with:
Expand Down
1 change: 1 addition & 0 deletions tests/integration/examples/test_tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# or implied. See the License for the specific language governing
# permissions and limitations under the License.


import sys

import pytest
Expand Down

0 comments on commit ed81f9a

Please sign in to comment.