Skip to content

Commit

Permalink
cache M4 source tarball to avoid test failures because of download pr…
Browse files Browse the repository at this point in the history
…oblems
  • Loading branch information
boegel committed Oct 12, 2020
1 parent 69b09cf commit 9439233
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
steps:
- uses: actions/checkout@v2

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

- name: set up Python
uses: actions/setup-python@v1
with:
Expand Down Expand Up @@ -137,7 +144,8 @@ jobs:
eb --search '^CVS-' | grep '/CVS-'
# try installing M4 with system toolchain (requires ConfigureMake easyblock + easyconfig)
eb --prefix /tmp/$USER/$GITHUB_SHA M4-1.4.18.eb
# 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
test-sdist:
runs-on: ubuntu-18.04
Expand Down

0 comments on commit 9439233

Please sign in to comment.