Skip to content

Merge pull request #17 from FireTail-io/fix-yaml-oauth #63

Merge pull request #17 from FireTail-io/fix-yaml-oauth

Merge pull request #17 from FireTail-io/fix-yaml-oauth #63

Workflow file for this run

name: Main
on: [push]
jobs:
test:
runs-on: ubuntu-latest
# https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
strategy:
fail-fast: false
matrix:
# Uncomment ci_node_total and ci_node_index, ONLY if we have multiple tests
# and need to run it in parallel
# [n] - where the n is a number of parallel jobs you want to run your tests on.
# Use a higher number if you have slow tests to split them between more parallel jobs.
# Remember to update the value of the `ci_node_index` below to (0..n-1).
#ci_node_total: [8]
# Indexes for parallel jobs (starting from zero).
# E.g. use [0, 1] for 2 parallel jobs, [0, 1, 2] for 3 parallel jobs, etc.
#ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7]
ruby-version: ['3.1', '3.2', '3.3']
env:
TZ: "Europe/Ireland"
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
# Not needed with a .ruby-version file
ruby-version: 3.1
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Run tests
run: |
bundle exec rspec