.github/workflows/ci.yml in modulesync-2.5.0 vs .github/workflows/ci.yml in modulesync-2.6.0

- old
+ new

@@ -1,19 +1,22 @@ --- -name: CI +name: ⚒️ CI + on: - - pull_request - - push + pull_request: {} + push: + branches: + - master env: BUNDLE_WITHOUT: release jobs: rubocop: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup ruby uses: ruby/setup-ruby@v1 with: ruby-version: '3.1' bundler-cache: true @@ -30,14 +33,15 @@ - ruby: "2.6" - ruby: "2.7" - ruby: "3.0" - ruby: "3.1" codecov: "yes" + - ruby: "3.2" env: CODECOV: ${{ matrix.codecov }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true @@ -45,5 +49,13 @@ run: bundle exec rake spec - name: Run behavior tests run: bundle exec cucumber - name: Build gem run: gem build *.gemspec + tests: + needs: + - rubocop + - test + runs-on: ubuntu-latest + name: Test suite + steps: + - run: echo Test suite completed