8000 housekeeping: add flags for making visual studio preview and maui optional by dpvreony · Pull Request #821 · reactiveui/splat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

housekeeping: add flags for making visual studio preview and maui optional #821

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

Merged
merged 16 commits into from
Nov 14, 2021

Conversation

dpvreony
Copy link
Member

What kind of change does this PR introduce?
CI change
closes #797

What is the current behavior?
Always opt for running vs2022 preview and maui check

What is the new behavior?
allows moving to stable\preview versions of both (once maui in vs properly)

What might this PR break?
n/a

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

@glennawatson
Copy link
Contributor
glennawatson commented Nov 14, 2021

We could possibly just add a global "secret" as a environment variable, and make more consistent use of our github actions.

Also might be worth adopting this at some point https://docs.github.com/en/actions/learn-github-actions/reusing-workflows

GitHub Docs
Learn how to avoid duplication when creating a workflow by reusing existing workflows.

@glennawatson
Copy link
Contributor

Guess we need another flag for install preview now as well.

requiring 17.1 pre which isn't being picked up by the vs update at this point anyway
@dpvreony
Copy link
Member Author
dpvreony commented Nov 14, 2021

will look at reusable. could then put it in https://github.com/reactiveui/.github to share between the repos that need it? get it working first :)

as for flags as you like

GitHub
Contribute to reactiveui/.github development by creating an account on GitHub.

@codecov
Copy link
codecov bot commented Nov 14, 2021

Codecov Report

Merging #821 (c528ff5) into main (6c881bb) will increase coverage by 0.10%.
The diff coverage is n/a.

❗ Current head c528ff5 differs from pull request most recent head 972dc6d. Consider uploading reports for the commit 972dc6d to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main     #821      +/-   ##
==========================================
+ Coverage   74.26%   74.36%   +0.10%     
==========================================
  Files          99       99              
  Lines        4970     4970              
==========================================
+ Hits         3691     3696       +5     
+ Misses       1279     1274       -5     
Impacted Files Coverage Δ
src/Splat/Logging/FullLoggerExtensions.cs 28.57% <0.00%> (+0.95%) ⬆️
src/Splat/Logging/WrappingFullLogger.cs 65.58% <0.00%> (+1.29%) ⬆️
...ceMonitoring/DefaultFeatureUsageTrackingSession.cs 72.00% <0.00%> (+4.00%) ⬆️
src/Splat/Logging/WrappingPrefixLogger.cs 70.58% <0.00%> (+5.88%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3342016...972dc6d. Read the comment docs.

@dpvreony
Copy link
Member Author

status check doesn't seem to like the change to a workflow. is it a simple tweak in the settings? if so and happy to proceed based on the ci yml i'll do the release yml

@glennawatson
Copy link
Contributor

Seems the status name has been changed. To build build build.

@glennawatson
Copy link
Contributor
glennawatson commented Nov 14, 2021

I've created https://github.com/reactiveui/actions-common

You have access to that repo

Might be a better location for this script

GitHub
Common GitHub actions for the ReactiveUI project. Contribute to reactiveui/actions-common development by creating an account on GitHub.

@dpvreony
Copy link
Member Author

https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#creating-a-reusable-workflow suggests it needs to be in .github/workflows

will try tagging to main

@dpvreony
Copy link
Member Author

the question of names in each of the bits "build build build"
ci (in the splat yml) common build (in the workflow)

@glennawatson
Copy link
Contributor

Yeah I can change it to reference build / build / build, I guess that's a valid workaround although a bit ugly.

@glennawatson
Copy link
Contributor

Once that is done I'll get some help updating all the other repos to use this script where practical.

RxUI will likely be the tricky one due to multiple sln, might need to move those additional sln into different folder just to make our lives easier.

@glennawatson glennawatson enabled auto-merge (squash) November 14, 2021 21:16
@glennawatson glennawatson merged commit b50555c into main Nov 14, 2021
@glennawatson glennawatson deleted the vs2022 branch November 14, 2021 21:22
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

housekeeping: vs2022 go live CI changes
2 participants
0