Skip to content

Remove pwsh -login and add Pwsh test#660

Merged
mergify[bot] merged 5 commits intonektos:masterfrom
JustinGrote:JustinGrote/fixPwshAndTest
May 5, 2021
Merged

Remove pwsh -login and add Pwsh test#660
mergify[bot] merged 5 commits intonektos:masterfrom
JustinGrote:JustinGrote/fixPwshAndTest

Conversation

@JustinGrote
Copy link
Contributor

@JustinGrote JustinGrote commented May 4, 2021

This resolves the issue with pwsh failing due to -login and the command not splitting correctly.

It also adds a test pwsh run using a image that has Powershell integrated, hopefully this doesn't introduce too much into the testing time, but the image can be cached in the CI if necessary to speed things up.

EDIT: Literally took less than half a second to download and extract the container, I guess that's a benefit of using the github container registry :)

@codecov
Copy link

codecov bot commented May 4, 2021

Codecov Report

Merging #660 (7ebb0d9) into master (0f04942) will increase coverage by 0.58%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #660      +/-   ##
==========================================
+ Coverage   49.27%   49.85%   +0.58%     
==========================================
  Files          23       23              
  Lines        2401     2401              
==========================================
+ Hits         1183     1197      +14     
+ Misses       1090     1078      -12     
+ Partials      128      126       -2     
Impacted Files Coverage Δ
pkg/model/workflow.go 30.71% <100.00%> (+5.00%) ⬆️
pkg/runner/step_context.go 70.78% <0.00%> (+1.84%) ⬆️

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 e79379c...7ebb0d9. Read the comment docs.

@mergify
Copy link
Contributor

mergify bot commented May 4, 2021

@JustinGrote this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label May 4, 2021
@JustinGrote JustinGrote marked this pull request as ready for review May 4, 2021 23:14
catthehacker
catthehacker previously approved these changes May 4, 2021
@mergify mergify bot removed the needs-work Extra attention is needed label May 4, 2021
@mergify mergify bot requested a review from a team May 4, 2021 23:30
@mergify
Copy link
Contributor

mergify bot commented May 4, 2021

@JustinGrote this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label May 4, 2021
@mergify mergify bot removed the needs-work Extra attention is needed label May 5, 2021
@JustinGrote
Copy link
Contributor Author

@cplee @catthehacker looks like the composite test is flaky on MacOS, maybe a race condition. Empty commit and it worked this time :)

@cplee
Copy link
Contributor

cplee commented May 5, 2021

@catthehacker - I'd like to test mergify workflow with this one...can you add an approve review to this PR?

@mergify mergify bot requested a review from a team May 5, 2021 04:58
@cplee cplee removed the request for review from a team May 5, 2021 05:32
@mergify mergify bot requested review from a team May 5, 2021 05:32
@cplee cplee removed the request for review from a team May 5, 2021 05:33
@mergify mergify bot requested a review from a team May 5, 2021 05:35
@cplee cplee removed the request for review from a team May 5, 2021 05:38
@mergify
Copy link
Contributor

mergify bot commented May 5, 2021

@JustinGrote this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label May 5, 2021
@cplee
Copy link
Contributor

cplee commented May 5, 2021

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented May 5, 2021

Command refresh: success

Pull request refreshed

@mergify mergify bot removed the needs-work Extra attention is needed label May 5, 2021
@mergify mergify bot merged commit 616d7fc into nektos:master May 5, 2021
@cplee
Copy link
Contributor

cplee commented May 5, 2021

Took some persistence, but Mergify is all dialed in

@JustinGrote JustinGrote deleted the JustinGrote/fixPwshAndTest branch May 5, 2021 15:01
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-runner-as-gitea-act-runner-fork that referenced this pull request Jul 28, 2025
* Remove pwsh -login and add Pwsh test

* Add Shell Command Test for coverage

* 🧪 Move PWSH Platform definition to inline test, it can always be expanded out later

Reference: nektos/act#660 (comment)

* Test MacOS Build for transient failure

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
underth-moon99 added a commit to underth-moon99/act that referenced this pull request Jul 29, 2025
* Remove pwsh -login and add Pwsh test

* Add Shell Command Test for coverage

* 🧪 Move PWSH Platform definition to inline test, it can always be expanded out later

Reference: nektos/act#660 (comment)

* Test MacOS Build for transient failure

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants