Commit graph

29 commits

Author SHA1 Message Date
Dongbo Wang a62c9d9443
Add the performance benchmark project for PowerShell performance testing (#15242) 2021-04-30 09:34:26 -07:00
Travis Plunk 75dc913aa4
Sign internals of EXE package so that it works correctly when signed (#15132)
Co-authored-by: Robert Holt <rjmholt@gmail.com>
2021-04-09 10:26:47 -07:00
Travis Plunk 6c633e7fc2
A separate Windows packaging CI (#14670) 2021-02-08 13:25:14 -08:00
Travis Plunk de6966a9fc
markdownlint security updates (#13730)
* security updates

* exclude markdown test changes from product CI is future
2020-10-02 09:51:09 -07:00
Travis Plunk 2fe34993c3
Sign the MSIX files for the store (#12582)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2020-05-29 10:26:30 -07:00
Travis Plunk e0d43dd367 Move to latest Azure DevOps agent images (#11704) 2020-01-28 12:39:51 -08:00
Steve Lee 4ff9924cbf Add $env:__SuppressAnsiEscapeSequences to control whether to… (#10814) 2019-10-24 12:45:26 -07:00
Dongbo Wang bf5694ebf5 Revert the temporary change (#10260) 2019-07-31 13:23:57 -07:00
Dongbo Wang a4e397697c Skip JumpList on NanoServer and IoT (#10164) 2019-07-15 17:02:18 -07:00
Dongbo Wang 66c628f1b0 Attempt to work around the zip download issue in Azure DevOps Windows CI (#9911) 2019-06-17 09:05:37 -07:00
Travis Plunk a39d985118
Convert windows CI to stages (#9607) 2019-05-16 10:30:50 -07:00
Dongbo Wang 609d610c71 Allow CI to run on branches with this name pattern: feature* (#9415) 2019-04-19 11:27:33 -07:00
Travis Plunk 23451ac32f
Create dependabot config.yml (#9368)
Create dependabot config.yml
2019-04-15 11:49:17 -07:00
Aditya Patwardhan 34fa5e472d
Fix publishing daily nupkg to MyGet (#9269) 2019-04-01 16:58:43 -07:00
Michael Klement f81f778308 Update feature-request issue template to move instructions into comments. (#9187)
Moved instructions into comments.

## PR Context

While users should _see_ instructions, they shouldn't be _included_ when the issue is created.
2019-03-22 12:23:26 -07:00
Travis Plunk 058a19028d
Refactor macOS CI so that tests run in parallel (#9056)
Refactor macOS CI so that tests run in parallel 
  - Also:
    - Fix bootstrap issue where curl was failing for a month (so obviously not needed)
    - Change Windows test stages to use PowerShell Core (where we can) to avoid compat issues

## PR Context

This allows running all tests in about the same about of clock time.
2019-03-11 13:00:22 -07:00
Dongbo Wang 5d54f1aa38
Make xUnit tests run sequentially to avoid race conditions caused by manipulating 'powershell.config.json' in tests (#8945) 2019-02-22 11:57:10 -08:00
Travis Plunk a7f798575d
Parallelize the windows CI to enable us to run all tests all the time (#8868)
Split Windows CI into the following Jobs

1. Combine Build and xUnit, which published build artifact
1. Elevated CI tests
1. Unelevated CI test
1. Elevated everything else tests
1. Unelevated everything else tests
1. Package build and test
1. Verify xUnit result

## PR Context  

Before this test:

- A CI run would take ~14 minutes
- A Feature run would take ~30 minutes

After this change, it always runs all tests and takes ~20 minutes.
Job `Unelevated everything else tests` is the long poll, taking ~4 minutes longer than the next shortest job.  We should be able to get this back down to ~15 if we split that test job somehow.
2019-02-14 16:33:19 -08:00
Travis Plunk 32561022ca
Move Final artifacts from universal build to finalResults folder (#8806)
## PR Summary

Move Final artifacts from universal build to `finalResults` folder
2019-02-01 10:59:01 -08:00
Travis Plunk e96b0bf85b
Refactor Unified Release Build (#8804)
Refactor Unified Release Build
  - Make injecting the nuget.config a template
  - Make setting the version variable a template
  - Add parameters to templates where needed
  - Run defender scan before uploading linux packages (and rename step to plain english)
2019-01-31 15:10:19 -08:00
Reece Dunham 04a31ff22f Refactor appveyor.psm1 to ci.psm1 (#8733) 2019-01-25 15:30:31 -08:00
Travis Plunk 4d69997cf0
Batch merge builds together while a merge build is running (#8668)
## PR Summary

Batch merge builds together while a merge build is running 

## PR Context  

Help keep agents available for CI runs.
2019-01-16 15:29:46 -08:00
Reece Dunham c188666305 Name the spelling yaml something more appropriate (#8601)
* Rename spelling.yml to misc-analysis.yml
* Update mac.yml
* Update windows.yml
* Update README.md
2019-01-07 12:54:13 -08:00
Travis Plunk 20d9bd5f0a
pass nugetkey as param (#8461) 2018-12-13 17:23:41 -08:00
Aditya Patwardhan ddd69c845a
Update the timeout of CI builds (#8398) 2018-12-04 16:57:29 -08:00
Travis Plunk 9894be9c60
Add path filters to CI YAML (#8222)
* Filter spelling to only PRs with `*.md` files
* filter common paths in CI yml
2018-11-09 11:38:44 -08:00
Travis Plunk e702119177
Add code to use private NuGet feeds when running in internal CI system (#8187)
Add code to use private NuGet feeds when running in internal CI system
2018-11-06 09:52:14 -08:00
Travis Plunk 2141c2a8e3
Add daily build non-windows platforms (#7683)
Add daily build non-windows platforms
  - Also, make the [Feature] tag work in VSTS for non-windows
  - Also, add a way to force feature tests to run
  - Also, fix an issue where `-workingdirectory` didn't work when running async
2018-09-06 12:27:49 -07:00
Travis Plunk 40532d9a2e
Add VSTS CI for Windows (#7536)
- Add VSTS CI for Windows
    - Disable `Access-denied test for Get-Item C:\windows\appcompat\Programs\Install -ErrorAction Stop`, because the path does not always exist
        - https://github.com/PowerShell/PowerShell/issues/7553
    - Disable `Should give .sys file if the fullpath is specified with hidden and force parameter`, because pagefile.sys doesn't always exist and other files don't meet test's requirement.
        - https://github.com/PowerShell/PowerShell/issues/7554
    - Disable some `Test-Connection` tests for same reasons they failed on VSTS Linux
        - https://github.com/PowerShell/PowerShell/issues/7555
    - Disable `Test-FileCatalog should pass when catalog is in the same folder as files being tested`, because the CmdLet does not work in that scenario
         - Also, give details needed to investigate when the test fails
         - https://github.com/PowerShell/PowerShell/issues/7556
    - Update `appveyor.psm1` to work with VSTS
    - Update `HelpersRemoting.psm1` `New-RemoteSession` to work for CimSession (discovered an issue during the investigation)
    - Update `Test wildcard with drive relative directory path` to work when there are multiple drives
         - Disable on non-windows machines since the test is assuming drive letters
    - Update `New-CimSession` Tests to requireAdmin
         - Also, make sure session name is a string
    - Add functions to save and restore psoptions
    - update `.gitatttributes` so files clone like they do on appveyor
2018-08-17 22:06:51 -07:00