Skip to content

Commit

Permalink
add cleanup and disk space check steps to forester workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeytimoshin committed Jan 6, 2025
1 parent d47530d commit 5001b99
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/forester-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ jobs:
- uses: actions/checkout@v4
- name: Setup and build
uses: ./.github/actions/setup-and-build
- name: Clean build artifacts before tests
shell: bash
run: |
cargo clean
rm -rf target/debug/deps/*
- name: Check available disk space
shell: bash
run: |
df -h /
du -sh /home/runner/work/* | sort -hr | head -n 10
- name: Build test program
run: |
source ./scripts/devenv.sh
Expand All @@ -54,6 +64,16 @@ jobs:
- uses: actions/checkout@v4
- name: Setup and build
uses: ./.github/actions/setup-and-build
- name: Clean build artifacts before tests
shell: bash
run: |
cargo clean
rm -rf target/debug/deps/*
- name: Check available disk space
shell: bash
run: |
df -h /
du -sh /home/runner/work/* | sort -hr | head -n 10
- name: Run state batched tests
run: |
source ./scripts/devenv.sh
Expand All @@ -66,6 +86,16 @@ jobs:
- uses: actions/checkout@v4
- name: Setup and build
uses: ./.github/actions/setup-and-build
- name: Clean build artifacts before tests
shell: bash
run: |
cargo clean
rm -rf target/debug/deps/*
- name: Check available disk space
shell: bash
run: |
df -h /
du -sh /home/runner/work/* | sort -hr | head -n 10
- name: Run 2 foresters test
run: |
source ./scripts/devenv.sh
Expand All @@ -78,6 +108,16 @@ jobs:
- uses: actions/checkout@v4
- name: Setup and build
uses: ./.github/actions/setup-and-build
- name: Clean build artifacts before tests
shell: bash
run: |
cargo clean
rm -rf target/debug/deps/*
- name: Check available disk space
shell: bash
run: |
df -h /
du -sh /home/runner/work/* | sort -hr | head -n 10
- name: Run epoch double registration test
run: |
source ./scripts/devenv.sh
Expand Down

0 comments on commit 5001b99

Please sign in to comment.