aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuchian Nemes <luchian.nemes@puppet.com>2020-10-06 09:35:38 +0300
committerLuchian Nemes <luchian.nemes@puppet.com>2020-10-06 09:35:38 +0300
commit303fd86610d132fa5abb5c0027976c7a940a3dc1 (patch)
tree6dd543dfb3b4d3beba5afcb9393708ef95294a03
parentbc267049d94a892f5d1731568637b3729cd970eb (diff)
downloadpuppet-hosts_core-303fd86610d132fa5abb5c0027976c7a940a3dc1.tar.gz
puppet-hosts_core-303fd86610d132fa5abb5c0027976c7a940a3dc1.tar.bz2
(maint) Replace Windows 2019 with 2016 on GitHub Actions
Unit tests seem to be running much faster on Windows 2016 with GitHub Actions than Windows 2019.
-rw-r--r--.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml4
-rw-r--r--.github/workflows/unit_tests_with_nightly_puppet_gem.yaml4
-rw-r--r--.github/workflows/unit_tests_with_released_puppet_gem.yaml (renamed from .github/workflows/unit_test_with_released_puppet_gem.yaml)8
3 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
index b31bf18..bf07dc5 100644
--- a/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/daily_unit_tests_with_nightly_puppet_gem.yaml
@@ -10,7 +10,7 @@ jobs:
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
strategy:
matrix:
- os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2019' ]
+ os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2016' ]
puppet_version: [ 5, 6, 7 ]
include:
- puppet_version: 5
@@ -28,7 +28,7 @@ jobs:
os_type: 'macOS'
env_set_cmd: 'export '
gem_file: 'puppet-latest-universal-darwin.gem'
- - os: 'windows-2019'
+ - os: 'windows-2016'
os_type: 'Windows'
env_set_cmd: '$env:'
gem_file: 'puppet-latest-x64-mingw32.gem'
diff --git a/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
index 8c5d909..b408ee8 100644
--- a/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml
@@ -12,7 +12,7 @@ jobs:
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
strategy:
matrix:
- os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2019' ]
+ os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2016' ]
puppet_version: [ 5, 6, 7 ]
include:
- puppet_version: 5
@@ -30,7 +30,7 @@ jobs:
os_type: 'macOS'
env_set_cmd: 'export '
gem_file: 'puppet-latest-universal-darwin.gem'
- - os: 'windows-2019'
+ - os: 'windows-2016'
os_type: 'Windows'
env_set_cmd: '$env:'
gem_file: 'puppet-latest-x64-mingw32.gem'
diff --git a/.github/workflows/unit_test_with_released_puppet_gem.yaml b/.github/workflows/unit_tests_with_released_puppet_gem.yaml
index 5d044cd..47385ac 100644
--- a/.github/workflows/unit_test_with_released_puppet_gem.yaml
+++ b/.github/workflows/unit_tests_with_released_puppet_gem.yaml
@@ -12,7 +12,7 @@ jobs:
name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
strategy:
matrix:
- os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2019' ]
+ os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2016' ]
puppet_version: [ 5, 6 ]
include:
- puppet_version: 5
@@ -23,9 +23,9 @@ jobs:
- os: 'ubuntu-18.04'
os_type: 'Linux'
- os: 'macos-10.15'
- os_type: 'macOS'
- - os: 'windows-2019'
- os_type: 'Windows'
+ os_type: 'macOS'
+ - os: 'windows-2016'
+ os_type: 'Windows'
runs-on: ${{ matrix.os }}
env: