Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
test-install:
# This workflow should only run in Hirlam/obsmon to not overuse GitHub action minutes in forks
if: github.repository == 'Hirlam/Harmonie'
if: github.repository == 'Hirlam/obsmon'

runs-on: ubuntu-latest

Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Cache R packages
uses: actions/cache@v4
with:
path: /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs
path: /home/runner/.cache/Rlibs/${{ matrix.r-version }}
key: ${{ runner.os }}-r-${{ matrix.r-version }}-${{ hashFiles('**/DESCRIPTION') }}
restore-keys: |
${{ runner.os }}-r-${{ matrix.r-version }}-
Expand All @@ -66,14 +66,13 @@ jobs:
ls -latr /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs
du -sh /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs

# 7. Install a test package (should go into cache)
- name: Install test R package
run: |
Rscript -e 'install.packages("jsonlite", repos="https://cloud.r-project.org")'

# 8. Install obsmon R packages
- name: Install obsmon R packages
run: ./install -output-rootdir /home/runner/.cache/Rlibs/${{ matrix.r-version }}
run: |
ls -ltr /home/runner/.cache/Rlibs/${{ matrix.r-version }}
ls -ltr /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs
./install -output-rootdir /home/runner/.cache/Rlibs/${{ matrix.r-version }}
ls -ltr /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs

# 9. Verify cache contents
- name: Verify cached packages
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org).

## [Unreleased]
### Fixed
- Correct install Action [!56](https://github.com/Hirlam/obsmon/pull/56)
- Correct Actions [!52](https://github.com/Hirlam/obsmon/pull/52)
- Correct ECMWF documentation [!51](https://github.com/Hirlam/obsmon/pull/51)
### Added
Expand Down
Loading