diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 0000000..4ad75a0 --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,8 @@ +name: Pipeline +on: + push: + schedule: + - cron: '0 1 * * 1' # Every Monday at 1AM UTC +jobs: + tests: + uses: Invoca/ruby-test-matrix-workflow/.github/workflows/ruby-test-matrix.yml@main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 56df355..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: Test - -on: [push] - -jobs: - tests: - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2] - gemfile: - - Gemfile - - gemfiles/rails_5.gemfile - - gemfiles/rails_6.gemfile - - gemfiles/rails_7.gemfile - exclude: - - ruby: 2.5 - gemfile: gemfiles/rails_7.gemfile - - ruby: 2.6 - gemfile: gemfiles/rails_7.gemfile - - env: - BUNDLE_GEMFILE: ${{ matrix.gemfile }} - - name: Unit Tests (${{ matrix.ruby }} - ${{ matrix.gemfile }}) - - steps: - - uses: actions/checkout@v2 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - bundler: 2.2.29 - bundler-cache: true - - name: Unit tests - run: bundle exec rspec - diff --git a/Gemfile.lock b/Gemfile.lock index 0417666..194c2c6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -84,4 +84,4 @@ DEPENDENCIES rubocop (= 0.54.0) BUNDLED WITH - 2.2.29 + 2.6.3