Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️🚇 Use GITHUB_OUTPUT instead of set-output in github actions #1166

Merged
merged 3 commits into from
Nov 5, 2022

Conversation

s-weigand
Copy link
Member

@s-weigand s-weigand commented Nov 5, 2022

GitHub deprecated the usage of set-output in favor of using the environment file located at $GITHUB_OUTPUT.
The old syntax already gives warnings and will be switched off 31st May 2023.
This change makes the CI more future proof.

Ref.: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Change summary

Checklist

  • ✔️ Passing the tests (mandatory for all PR's)
  • 🚧 Added changes to changelog (mandatory for all PR's)

@s-weigand s-weigand requested a review from a team as a code owner November 5, 2022 14:24
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2022

Binder 👈 Launch a binder notebook on branch s-weigand/pyglotaran/upgrade-gha-set-output

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2022

Benchmark is done. Checkout the benchmark result page.
Benchmark differences below 5% might be due to CI noise.

Benchmark diff v0.6.0 vs. main

Parametrized benchmark signatures:

BenchmarkOptimize.time_optimize(index_dependent, grouped, weight)

All benchmarks:

       before           after         ratio
     [6c3c390e]       [db1e5760]
     <v0.6.0>                   
!        67.7±2ms           failed      n/a  BenchmarkOptimize.time_optimize(False, False, False)
!        146±30ms           failed      n/a  BenchmarkOptimize.time_optimize(False, False, True)
!        69.7±1ms           failed      n/a  BenchmarkOptimize.time_optimize(False, True, False)
!        161±10ms           failed      n/a  BenchmarkOptimize.time_optimize(False, True, True)
!        89.1±2ms           failed      n/a  BenchmarkOptimize.time_optimize(True, False, False)
!       96.0±30ms           failed      n/a  BenchmarkOptimize.time_optimize(True, False, True)
!      89.2±0.7ms           failed      n/a  BenchmarkOptimize.time_optimize(True, True, False)
!        109±30ms           failed      n/a  BenchmarkOptimize.time_optimize(True, True, True)
             204M             213M     1.04  IntegrationTwoDatasets.peakmem_optimize
-      2.44±0.07s       1.73±0.03s     0.71  IntegrationTwoDatasets.time_optimize

Benchmark diff main vs. PR

Parametrized benchmark signatures:

BenchmarkOptimize.time_optimize(index_dependent, grouped, weight)

All benchmarks:

       before           after         ratio
     [db1e5760]       [e1f0456b]
           failed           failed      n/a  BenchmarkOptimize.time_optimize(False, False, False)
           failed           failed      n/a  BenchmarkOptimize.time_optimize(False, False, True)
           failed           failed      n/a  BenchmarkOptimize.time_optimize(False, True, False)
           failed           failed      n/a  BenchmarkOptimize.time_optimize(False, True, True)
           failed           failed      n/a  BenchmarkOptimize.time_optimize(True, False, False)
           failed           failed      n/a  BenchmarkOptimize.time_optimize(True, False, True)
           failed           failed      n/a  BenchmarkOptimize.time_optimize(True, True, False)
           failed           failed      n/a  BenchmarkOptimize.time_optimize(True, True, True)
             213M             210M     0.99  IntegrationTwoDatasets.peakmem_optimize
       1.73±0.03s       1.72±0.05s     1.00  IntegrationTwoDatasets.time_optimize

@s-weigand s-weigand changed the title ❌ CI TEST Upgrade gha set output ♻️🚇 Use GITHUB_OUTPUT instead of set-output in github actions Nov 5, 2022
@codecov
Copy link

codecov bot commented Nov 5, 2022

Codecov Report

Base: 87.6% // Head: 87.6% // No change to project coverage 👍

Coverage data is based on head (e1f0456) compared to base (db1e576).
Patch has no changes to coverable lines.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1166   +/-   ##
=====================================
  Coverage   87.6%   87.6%           
=====================================
  Files        103     103           
  Lines       4899    4899           
  Branches     807     807           
=====================================
  Hits        4292    4292           
  Misses       489     489           
  Partials     118     118           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@s-weigand
Copy link
Member Author

Ooops initially wanted to open the PR against my fork for testing 😅
Anyway I checked on my fork that the oxygen workflow works and this PR shows that the benchmark comments also work

@jsnel jsnel merged commit e2b21c0 into glotaran:main Nov 5, 2022
@jsnel jsnel deleted the upgrade-gha-set-output branch November 5, 2022 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants