Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/add_new_issue_to_triage_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/simp/projects/11
github-token: ${{ secrets.AUTO_TRIAGE_TOKEN }}
62 changes: 62 additions & 0 deletions .github/workflows/pr_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Run checks and test matrix on Pull Requests
# ------------------------------------------------------------------------------
# The testing matrix considers Ruby/OpenVox versions supported by SIMP:
# ------------------------------------------------------------------------------
# OpenVox Ruby
# 8.x 3.2
#
# ==============================================================================
#
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
#
---
name: PR Tests
'on':
push:
branches:
# A test branch for seeing if your tests will pass in your personal fork
- test_me_github
pull_request:
types: [opened, reopened, synchronize]

env:
PUPPET_VERSION: '~> 8'

jobs:
ruby-style:
name: 'Ruby Style'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v5
- name: "Install Ruby 3.2"
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- run: |
bundle show
bundle exec rubocop

spec-tests:
name: 'Spec'
runs-on: ubuntu-latest
strategy:
matrix:
puppet:
- label: 'Puppet 8.x'
puppet_version: '~> 8.0'
ruby_version: '3.2'
experimental: false
env:
PUPPET_VERSION: ${{matrix.puppet.puppet_version}}
steps:
- uses: actions/checkout@v5
- name: 'Install Ruby ${{matrix.puppet.ruby_version}}'
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.puppet.ruby_version}}
bundler-cache: true
- run: 'command -v rpm || if command -v apt-get; then sudo apt-get update; sudo apt-get install -y rpm; fi ||:'
- run: 'bundle exec rake spec'
continue-on-error: ${{matrix.puppet.experimental}}
6 changes: 3 additions & 3 deletions .github/workflows/tag_deploy_rubygem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
steps:
- name: "Assert '${{ github.ref }}' is a tag"
run: '[[ "$GITHUB_REF" =~ ^refs/tags/ ]] || { echo "::error ::GITHUB_REF is not a tag: ${GITHUB_REF}"; exit 1 ; }'
- uses: actions/checkout@v3
- uses: actions/checkout@v5
with:
ref: ${{ github.ref }}
clean: true
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
tag: ${{ steps.tag-check.outputs.tag }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
ref: ${{ github.ref }}
clean: true
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
PKG_DIR: ${{ needs.releng-checks.outputs.pkg_dir }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
ref: ${{ github.ref }}
clean: true
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ facts/bun/
vendor/
collected_facts/
log/
spec/fixtures/
spec/fixtures/*
!spec/fixtures/metadata.json
127 changes: 0 additions & 127 deletions .gitlab-ci.yml

This file was deleted.

Loading