Browse Source

Adding disk freeing on CLI Test

fix typo
tags/v0.3.6-rc0
haixuanTao 1 year ago
parent
commit
8878807acd
2 changed files with 18 additions and 2 deletions
  1. +17
    -1
      .github/workflows/ci.yml
  2. +1
    -1
      node-hub/opencv-video-capture/main.py

+ 17
- 1
.github/workflows/ci.yml View File

@@ -264,6 +264,22 @@ jobs:
- uses: actions/checkout@v3
- uses: r7kamura/rust-problem-matchers@v1.1.0
- run: cargo --version --verbose
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
if: runner.os == 'Linux'
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# 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: false
docker-images: true
swap-storage: false
- uses: Swatinem/rust-cache@v2
with:
cache-provider: buildjet
@@ -347,7 +363,7 @@ jobs:
sleep 10
dora stop --name ci-c-test --grace-duration 5s
dora destroy
- name: "Test CLI (C++)"
timeout-minutes: 30
# fail-fast by using bash shell explictly


+ 1
- 1
node-hub/opencv-video-capture/main.py View File

@@ -73,7 +73,7 @@ def main():

for event in node:

# Run this eample in the CI for 20 seconds only.
# Run this example in the CI for 20 seconds only.
if RUNNER_CI and time.time() - start_time > 20:
break



Loading…
Cancel
Save