Skip to content

Commit

Permalink
gh: daily validation of the ELL compatibility (#308)
Browse files Browse the repository at this point in the history
* gh: daily validation of the ELL compatibility

We recently had some issues because the ELL API has been broken without
notice.

Simply adding a cron to run the tests once a day during the week should
tell us when an incompatible change has been introduced on ELL side, so
we can get a bit of time to prepare a fix and a new release.

Link: #302
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>

* gh: switch to checkout v4

The previous version is deprecated, each job gets this warning:

  The following actions uses node12 which is deprecated and will be
  forced to run on node16: actions/checkout@v2. For more info:
  https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

No further changes needed: we use the public runners with ubuntu-latest.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>

* gh: coveralls: switch to v2

The previous version is deprecated, each job using it gets this warning:

  The following actions uses a deprecated Node.js version and will be
  forced to run on node20: coverallsapp/github-action@master. For more
  info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

We just have to use 'file' instead of 'path-to-lcov' which is
deprecated. No further changes needed: we use the public runners with
ubuntu-latest.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>

---------

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe authored Oct 24, 2024
1 parent ffa276f commit 269f10a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
debug: [enable-debug, disable-debug]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt-get -y install autoconf-archive pandoc git
- name: build and install ELL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt-get -y install autoconf-archive lcov git
- name: build and install ELL
Expand All @@ -30,7 +30,7 @@ jobs:
CODE_COVERAGE_OUTPUT_FILE=lcov.info \
CODE_COVERAGE_LCOV_OPTIONS="--no-external --exclude */tests/*"
- name: Coveralls
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info
file: ./lcov.info
4 changes: 3 additions & 1 deletion .github/workflows/ell-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '33 6 * * 1-5'

jobs:
build:
Expand All @@ -16,7 +18,7 @@ jobs:
cc: [gcc, clang]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt-get -y install autoconf-archive git clang
- name: build and install ELL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/multipath-tcp.org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: dependencies
run: sudo apt-get -y install autoconf-archive git
- name: build and install ELL
Expand Down

0 comments on commit 269f10a

Please sign in to comment.