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

[WIP] UWP CI tests #2402

Merged
merged 8 commits into from
May 28, 2021
Merged

[WIP] UWP CI tests #2402

merged 8 commits into from
May 28, 2021

Conversation

nirinchev
Copy link
Member

No description provided.

@nirinchev nirinchev self-assigned this May 27, 2021
@nirinchev nirinchev changed the base branch from master to ac/ci-uwp-tests May 27, 2021 21:40
@LaPeste LaPeste marked this pull request as ready for review May 28, 2021 08:12
@LaPeste LaPeste merged commit fdaf8b4 into ac/ci-uwp-tests May 28, 2021
@LaPeste LaPeste deleted the ni/uwp branch May 28, 2021 08:12
LaPeste added a commit that referenced this pull request Jun 11, 2021
* Store artifact with right name + PR feedback

* Store artifact with right name - 1

* Forgotten brackets

* Fix bash

* Fix bash - 1

* Fix bash - 2

* Fix bash - 3

* Fix bash - 4

* Fix bash - 5

* Removed echos and added the template

* Added versionSuffix

* Added versionSuffix - 1

* More bash work

* More bash work - 1

* Move from env vars to outputs

* Move from env vars to outputs - 1

* Fixed an error in upload artifact

* Added updated template

* Added suffix to job output

* Added suffix to nupkg name

* Added suffix to nupkg name - 1

* PR feedback

* Removed unused job output

* Removed unused job output - 1

* Removed unused job output - 2

* Fixed a misspell

* Split nuget package creation in 3 parts

* PR feedback

* First attempt to run win tests

* Forgotten dependency on building

* Wrong patg on fetching artifacts

* Wrong patg on fetching artifacts - 1

* Templated test

* Templated test - 1

* Templated test - 2

* Fixed name for nupkg

* Corrected download path for nupkg artifacts

* Added restore flag to test building

* Added restore flag to test building - 1

* Added restore flag to test building - 2

* Added restore flag to test building - 3

* Added restore flag to test building - 4

* Fixed test results path

* Corrected output name for pkg version var

* Fixed a rebase conflict

* Fixed ref to var

* Little refactor for findPkg function

* Fix for test report plugin

* Forgotten to readd

* Run tests read release from var

* More PR feedback

* More PR feedback

* Conform id

* Some missing update of id name

* Some missing update of id name - 1

* Added conf in ytt for tests

* Removed tests reslut comments in PR + renamed test results

* Fetch only Realm and Fody for tests

* Made a function for building win tests

* Added tests for netcore and net5

* Forgotten dependency on previous steps

* Forgotten checkout

* Fetch artifacts

* Made test result submission a function and split build and run in 2 steps

* Feedback from PR

* Made msbuild command a cross-platform one

* Changed signature of buildNetFrameworkTest

* Moved xamarin macOS tests over

* Fixed path for test results

* Fixed path for test results

* Added tests for weaver

* The workflow stopped to be trigger, checking why

* The workflow stopped to be trigger - reverted

* Small fixes

* Minor change

* Better signature for msbuild function

* Applied changes for new function signature

* Attempt at transform xunit test results to junit format

* Rearraged new code

* Console launchable app + test results fully working

* Fixed an issue where tests were not loaded

* Added missing params in msbuild for XamarinMac

* Changed option for published test results

* Added dotnetBuild function, simplified run testing and simplified msbuild function

* Added function for dotnet run and other small fixes

* Removed non-needed file

* Replaced file with a link to it

* Made a parameter not optional

* Trying to fix not found exe

* Trying to launch tests from terminal

* Trying to launch tests from terminal - 1

* Trying to launch tests from terminal - 2

* Trying to launch tests from terminal - 3

* Replaced dotnet build with dotnet publish

* Replaced dotnet build with dotnet publish - 1

* Replaced dotnet build with dotnet publish - 2

* Replaced dotnet build with dotnet publish - 3

* Replaced dotnet build with dotnet publish - 4

* Replaced dotnet build with dotnet publish - 5

* Replaced dotnet build with dotnet publish - 6

* Replaced dotnet build with dotnet publish - 7

* Replaced dotnet build with dotnet publish - 8

* Replaced dotnet build with dotnet publish - 0

* Use linked file instead of having a copied code from TestHelpers

* Fixed a small issue and no more fail if an element of a matrix job fails

* Proper split of CopyBundledFileToDocuments and TransformTestResults

* Deleted useless file

* Minor cleanup

* Minor detail before review

* Fix for XamarinMac failing to find test results

* Allow C# 8 "using" syntax in fody since it targets also net472

* Time to test it on GAs

* Fix a few GA nits (#2382)

* test test test

* doh

* don't add the test stuff all the time

* make realm.fody.tests executable

* Trying to understand why CI is stuck

* Trying to understand why CI is stuck - 0

* Trying to understand why CI is stuck - 1

* Trying to understand why CI is stuck - 2

* Trying to understand why CI is stuck - 3

* Trying to understand why CI is stuck - 4

* Minor changes from PR feedback

* Removed not needed part on namespace

* Fixed template/main after merge

* Added path for msbuild

* Removed restore config file from UWP build command

* Removed restore config file from UWP build command - 0

* Removed restore config file from UWP build command - 1

* Testing with realm nuget pkg version

* Testing with realm nuget pkg version - 0

* Testing with realm nuget pkg version - 1

* Testing with realm nuget pkg version - 2

* Readded UseRealmNupkgsWithVersion property to UWP proj

* Readded UseRealmNupkgsWithVersion property to UWP proj - 0

* Checking if NUnit nupkg is corrupted

* Checking if NUnit nupkg is corrupted - 0

* Checking if NUnit nupkg is corrupted - 1

* Checking if NUnit nupkg is corrupted - 2

* Add certificated to sign UWP app

* Add certificated to sign UWP app - 0

* Add certificated to sign UWP app - 1

* Add certificated to sign UWP app - 2

* Add certificated to sign UWP app - 3

* Add certificated to sign UWP app - 4

* Weird ytt bug for Nikola to look at

* Add certificated to sign UWP app - 5

* workaround ytt complaints

* Readded temp cert

* Import certificate to store

* Import certificate to store - 0

* Import certificate to store - 1

* Import certificate to store - 2

* Import certificate to store - 3

* Import certificate to store - 4

* Import certificate to store - 5

* Import certificate to store - 6

* Import certificate to store - 7

* Import certificate to store - 8

* Full use of msbuildOnWin

* Removed action to add certificate to agent

* Replaced pfx cert with a pass protected one

* Replaced pfx cert with a pass protected one - 0

* Modified X509KeyStorageFlags

* [WIP] UWP CI tests (#2402)

* Remove the certificate install

* Try #2

* Fix nuget config path

* wip

* Import certificate

* Fix cert path

* Try loading cert from secrets

* Update password

* Proper import of the certificate

* Lower target OS for UWP proj

* Lower target OS for UWP proj - 0

* Adding missing dep for UWP

* Some debug info

* Some debug info - 0

* Install missing appx

* Install missing appx - 0

* Remove useless nupkg

* Install the right UWP package

* Install the right UWP package - 0

* Install the right UWP package - 1

* Install the right UWP package - 2

* Install the right UWP package - 3

* Forgotten Add command

* Forgotten Add command - 0

* Signing UWP app through thumbprint

* Readded signing key to csproj

* Fixed path for installation

* Trying with default install script

* Trying with default install script - 0

* Trying with default install script - 1

* Trying with default install script - 2

* Guess in the full darkness

* Guess in the full darkness - 0

* Guess in the full darkness - 1

* Guess in the full darkness - 2

* Guess in the full darkness - 3

* Different attempt to start UWP process

* Minor changes

* Fixed an issue in parsing terminal params

* Fixed copyrights

* Hopefully fixes signing the UWP app

* Hopefully improved signing experience

* Hopefully improved signing experience - 0

* Hopefully improved signing experience - 1

* Hopefully improved signing experience - 2

* Hopefully improved signing experience - 3

* Hopefully improved signing experience - 4

* Hopefully improved signing experience - 5

* Hopefully improved signing experience - 6

* Should be fixed for the certificate

* Added some debug info

* Added some debug info - 0

* Maybe finally launch the UWP app

* Maybe first UWP test run to end

* Maybe first UWP test run to end - 0

* Maybe first UWP test run to end - 1

* Maybe first UWP test run to end - 2

* Maybe first UWP test run to end - 4

* Maybe first UWP test run to end - 5

* Maybe first UWP test run to end - 6

* Maybe first UWP test run to end - 7

* Maybe first UWP test run to end - 8

* Try to read test results

* Try to read test results - 0

* Try to read test results - 1

* Try to read test results - 2

* Some cleanup

* More cleanup before PR ready

* Improved parameter parsing method

* Some final touches

* Reworked parameter parsing

* Last cleanup before review

* Added nupkg to fix failing TCs

* Print run output to CI

* Print run output to CI - 0

* Print run output to CI - 1

* Print run output to CI - 2

* Modified Android and iOS csproj to follow UWP

* Fix mistake after merge

* Applied PR feedback

* Simplified TransformTestResults for UWP

* Wrong file on transform

* Fix CI exception if UWP app closes before check

* Try to fix failing TCs in UWP

Co-authored-by: Nikola Irinchev <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
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.

2 participants