Merge pull request #676 from imaqsood/PA-5065 #701
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Task Acceptance Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
task_acceptance_tests: | |
name: On ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ 'centos-7', 'ubuntu-20.04', 'rocky-8' ] | |
env: | |
ruby_version: '3.1' | |
GEM_BOLT: true | |
BEAKER_debug: true | |
BEAKER_set: docker/${{ matrix.os }} | |
runs-on: 'ubuntu-20.04' | |
steps: | |
- name: Checkout current PR code | |
uses: actions/checkout@v4 | |
- name: Install docker | |
uses: docker/setup-buildx-action@v1 | |
id: buildx | |
with: | |
install: true | |
- name: Install ruby version ${{ env.ruby_version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ env.ruby_version }} | |
- name: Prepare testing environment with bundler | |
run: | | |
git config --global core.longpaths true | |
bundle update --jobs 4 --retry 3 | |
- name: Run task acceptance tests | |
run: | | |
cd task_spec | |
bundle exec rake task_acceptance |