Skip to content

Commit

Permalink
Sprinkle in df -h in workflow to debug storage problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Micket committed Nov 12, 2024
1 parent 17edd80 commit e8095ca
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,35 @@ jobs:
module_syntax: Tcl
fail-fast: false
steps:
- name: Check disk usage
run: df -h

- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for git merge-base to work

- name: Check disk usage2
run: df -h

- name: Cache source files in /tmp/sources
id: cache-sources
uses: actions/cache@v4
with:
path: /tmp/sources
key: eb-sourcepath

- name: Check disk usage
run: df -h

- name: set up Python
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python}}
architecture: x64

- name: Check disk usage
run: df -h

- name: install OS & Python packages
run: |
# disable apt-get update, we don't really need it,
Expand All @@ -56,6 +68,9 @@ jobs:
# required for test_dep_graph
pip install pep8 python-graph-core python-graph-dot
- name: Check disk usage
run: df -h

- name: install EasyBuild framework
run: |
cd $HOME
Expand All @@ -73,6 +88,9 @@ jobs:
cd easybuild-easyblocks; git log -n 1; cd -
pip install $PWD/easybuild-easyblocks
- name: Check disk usage
run: df -h

- name: install modules tool
run: |
cd $HOME
Expand All @@ -88,6 +106,9 @@ jobs:
echo $PATH > path
if [ ! -z $MODULESHOME ]; then echo $MODULESHOME > moduleshome; fi
- name: Check disk usage
run: df -h

- name: run test suite
env:
EB_VERBOSE: 1
Expand Down Expand Up @@ -151,6 +172,10 @@ jobs:
# use /tmp/sources because that has cached downloads (see cache step above)
eb --prefix /tmp/$USER/$GITHUB_SHA --sourcepath /tmp/sources M4-1.4.18.eb
- name: Check disk usage
run: df -h


test-sdist:
runs-on: ubuntu-24.04
strategy:
Expand Down

0 comments on commit e8095ca

Please sign in to comment.