aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuchian Nemes <luchian.nemes@puppet.com>2020-10-01 09:43:33 +0300
committerLuchian Nemes <luchian.nemes@puppet.com>2020-10-01 09:43:33 +0300
commita05a0ad087f603f4d86af08c4e072eecf37954f3 (patch)
treeae041d2485a91bbcce824273d0d17b191d250fd1
parenta42aceab9b6b129c40ddda7875cc9e6660710ff4 (diff)
downloadpuppet-mailalias_core-a05a0ad087f603f4d86af08c4e072eecf37954f3.tar.gz
puppet-mailalias_core-a05a0ad087f603f4d86af08c4e072eecf37954f3.tar.bz2
(maint) Remove temporary GitHub Actions workflow
A temporary GitHub Actions workflow was added to enable scheduled workflows. This commit removes it since scheduled workflows are now enabled.
-rw-r--r--.github/workflows/main.yml56
1 files changed, 0 insertions, 56 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
deleted file mode 100644
index e8e2969..0000000
--- a/.github/workflows/main.yml
+++ /dev/null
@@ -1,56 +0,0 @@
----
-name: 'Temporary daily Unit Tests run workaround'
-
-on:
- schedule:
- - cron: '0 4 * * 1-5'
-
-jobs:
- daily_unit_tests_with_nightly_puppet_gem:
- name: ${{ matrix.os_type }} / Puppet${{ matrix.puppet_version }} gem / Ruby ${{ matrix.ruby }}
- strategy:
- matrix:
- os: [ 'ubuntu-18.04', 'macos-10.15', 'windows-2019' ]
- puppet_version: [ 5, 6, 7 ]
- include:
- - puppet_version: 5
- ruby: 2.4
- - puppet_version: 6
- ruby: 2.5
- - puppet_version: 7
- ruby: 2.7
-
- - os: 'ubuntu-18.04'
- os_type: 'Linux'
- env_set_cmd: 'export '
- gem_file: 'puppet-latest.gem'
- - os: 'macos-10.15'
- os_type: 'macOS'
- env_set_cmd: 'export '
- gem_file: 'puppet-latest-universal-darwin.gem'
- - os: 'windows-2019'
- os_type: 'Windows'
- env_set_cmd: '$env:'
- gem_file: 'puppet-latest-x64-mingw32.gem'
-
- runs-on: ${{ matrix.os }}
- steps:
- - name: Checkout code
- uses: actions/checkout@v2
-
- - name: Install ruby version ${{ matrix.ruby }}
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby }}
-
- - name: Install the latest nightly build of puppet${{ matrix.puppet_version }} gem
- run: |
- curl http://nightlies.puppet.com/downloads/gems/puppet${{ matrix.puppet_version }}-nightly/${{ matrix.gem_file }} --output puppet.gem
- gem install puppet.gem -N
- - name: Prepare testing environment with bundler
- run: |
- bundle config set system 'true'
- ${{ matrix.env_set_cmd }}PUPPET_GEM_VERSION=$(ruby -e 'puts /puppet\s+\((.+)\)/.match(`gem list -eld puppet`)[1]')
- bundle update --jobs 4 --retry 3
- - name: Run unit tests
- run: bundle exec rake parallel_spec