Commit graph

64 commits

Author SHA1 Message Date
Roy Ivy III 0b4ef62eed maint/CICD ~ refactor to standard use of outputs() 2023-01-21 23:39:05 -06:00
Niyaz Nigmatullin 328b387dbd gnu-tests: rollback to ubuntu-20.04 for gnu-tests until it fixed 2022-11-29 18:43:12 +02:00
Daniel Hofstetter f079c7aa80 CI: change python-pyinotify to python3-pyinotify 2022-11-24 15:30:02 +01:00
Miles Liu 584f3cd0b2 CI: replace actions-rs/install with cargo install 2022-11-19 16:28:08 +01:00
Miles Liu 418fe6d758 CI: remove use of actions-rs/toolchain 2022-11-19 16:28:08 +01:00
Niyaz Nigmatullin 17ec577d9a CI: switch back to use output-type in grcov
`output-types` coming in new version, we are getting
`grcov` here from `crates.io`, so no `output-type`.
`grcov` has commit to support old `output-type` as well.
2022-11-15 09:54:13 +02:00
Sylvestre Ledru 69962250ff coverage: rename the arg to match a change in grcov
See https://github.com/mozilla/grcov/pull/893
2022-11-12 08:54:34 +01:00
Sylvestre Ledru afa3e84d94 Replace set-output by the GITHUB_OUTPUT variable
See: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-11-03 08:25:47 +01:00
Sylvestre Ledru 94b8602e91 Remove unnecessary permissions 2022-10-10 08:03:34 +02:00
Terts Diepraam 7febaf8b68 GNuComment: clear comment log before appending the messages 2022-10-09 23:03:12 +02:00
Terts Diepraam f749a129aa ci: upload comparison log regardless of previous result 2022-10-09 12:35:00 +02:00
Terts Diepraam b9ce759a4b gnutests: also store PR number in comment artifact 2022-10-08 17:24:30 +02:00
Terts Diepraam f5b5dfa1a2 gnutests: save comparison in a comment log 2022-10-08 14:57:09 +02:00
Sylvestre Ledru d78089ea53
Replace pull_request by pull_request_target
See https://github.com/uutils/coreutils/pull/4006#issuecomment-1272290250
2022-10-08 12:46:12 +02:00
Sylvestre Ledru b4de65b4d7
Add pull-requests: write for GNU CI 2022-10-08 12:21:26 +02:00
Sylvestre Ledru a61230828e
Update the GNU CI permissions to allow messages for results 2022-10-06 17:10:18 +02:00
Alex b182f81a62 build: harden GnuTests.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 16:17:38 +02:00
Terts Diepraam f8c9de706f
Merge pull request #3948 from sylvestre/gnu-root
Agregate the root GNU testsuite results
2022-09-17 20:51:02 +02:00
Sylvestre Ledru 20af659f09 Run the GNU root tests in a separate task 2022-09-17 13:19:06 +02:00
Sylvestre Ledru cfa7ba2ce2 gnu: merge the root tests results into the main one 2022-09-17 13:19:03 +02:00
Sylvestre Ledru 7a6967cdff GNU test: Generate a few more locales
One of the test is skipped with:
sort-h-thousands-sep.sh: skipped test: The Swedish locale with blank thousands separator is unavailable.
2022-09-16 16:12:58 +02:00
Sylvestre Ledru 6f5d5aa456
Merge pull request #3492 from uutils/dependabot/github_actions/codecov/codecov-action-3
build(deps): bump codecov/codecov-action from 1 to 3
2022-05-12 08:40:16 +02:00
Sylvestre Ledru a3e4f7d375
Merge pull request #3495 from uutils/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-05-12 08:36:50 +02:00
dependabot[bot] 28c6403ffa build(deps): bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:21 +02:00
dependabot[bot] fd057574d7 build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:18 +02:00
dependabot[bot] eeec680c37 build(deps): bump codecov/codecov-action from 1 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:08 +02:00
Sylvestre Ledru a640ed6489 fix the GNU error detection 2022-05-07 09:52:03 +02:00
Sylvestre Ledru f6b9d36891
Merge pull request #3453 from turrisxyz/setup-permissions
chore: Set permissions for GitHub actions
2022-05-05 08:00:20 +02:00
Sylvestre Ledru ae65dcc7d2 GNU CI: show the new error 2022-05-01 19:00:55 +02:00
naveen adfe4b2289 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-04-29 01:01:27 +00:00
Sylvestre Ledru b93fb8de70 update another ref to coreutils 9.1 2022-04-18 14:56:11 +02:00
Sylvestre Ledru 9813f48ed8 GNU/Coreutils: update the reference to 9.1 2022-04-18 00:34:42 +02:00
Sylvestre Ledru 2bed02b70a Revert the force set of the rustc nightly version 2022-04-13 11:57:11 +02:00
Sylvestre Ledru 87c224e978
GNU testsuite: also show the number of SKIP tests 2022-04-01 10:00:44 +02:00
Roy Ivy III bed7dc5a29 maint/CICD ~ (GnuTests) support local bespoke repo default branch 2022-03-31 23:39:11 +02:00
Roy Ivy III a6e3564c5d fix/CICD ~ (GnuTests) be more precise about failing/passing tests 2022-03-31 23:32:28 +02:00
Roy Ivy III cbe6396149 docs ~ (GnuTests) add reference and notes re GNU coreutils testing processes 2022-03-31 23:32:00 +02:00
Sylvestre Ledru 2acac0d558 CI: Force the rustc nightly version to fix issue 3305 2022-03-25 09:41:01 +01:00
Sylvestre Ledru cb576effc2 GNU ci: compress logs before upload 2022-03-18 20:45:12 +01:00
xxyzz 6174cad334 Run GNU coverage job on pull requests
GNU coverage job now takes around one hour to finish thanks to contributors' work. Run it on pull requests to compare the GNU coverage report.
2022-03-05 13:49:35 +01:00
xxyzz 744592e221
Change the owner of gcda files to the current user 2022-02-20 19:15:48 +08:00
Sylvestre Ledru 9adaf5c288
Merge pull request #3045 from xxyzz/main
Create coverage report for GNU tests
2022-02-20 10:57:12 +01:00
Roy Ivy III 0af2c9bafb maint/CICD ~ (GnuTests) display sub-step test comparison failures more prominently 2022-02-17 15:14:51 -06:00
xxyzz ce02eae14b
tests/misc/tty-eof.pl requires Perl's Expect package >=1.11 2022-02-14 16:29:39 +08:00
xxyzz 1dbd474339
There are four GNU tests require valgrind 2022-02-14 16:28:50 +08:00
xxyzz 18b11cb2cf
Create coverage report for GNU tests 2022-02-14 16:27:09 +08:00
Terts Diepraam ac11d8793e docs: add page with test coverage 2022-02-13 23:14:13 +01:00
Terts Diepraam 1167d811d5
Merge pull request #2753 from sylvestre/gnu-locale
gnu/test: add the iso en_us locale to help with some tests
2022-02-13 12:59:33 +01:00
Roy Ivy III 38ac68ff33 maint/CICD ~ (GnuTests) remove unneeded GNULIB references 2022-02-12 15:26:59 -06:00
Roy Ivy III 29679ba337 maint/CICD ~ (GnuTests) refactor GnuTests GHA config
- combine gnu/gnulib into single repository checkout
- code consolidation
- DRY changes
- variable consolidation and renaming
- job/step naming normalization
2022-02-12 15:26:59 -06:00