Skip to content

Commit

Permalink
update tests workflows for feature branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoegel committed Mar 22, 2023
1 parent 29ab2f5 commit f13032c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 48 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/test-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,29 +43,6 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}

- name: Install Packages and Test
run: |
bundle install
rake
test_feature:
name: Test Feature Branch Nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
ruby-version: [2.7, 3.0, 3.1, 3.2]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: 'feature/openapi-generator-sdk'

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}

- name: Install Packages and Test
env:
RUBY_VERSION: ${{ matrix.ruby-version }}
Expand Down
27 changes: 2 additions & 25 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,9 @@ env:
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}

jobs:
test_pr_main:
name: Test PR to Main Branch
test_pr:
name: Test PR
runs-on: ${{ matrix.os }}
if: github.base_ref == 'main'
strategy:
matrix:
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
ruby-version: [2.6, 2.7, 3.0]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}

- name: Install Packages and Test
run: |
bundle install
rake
test_pr_feature:
name: Test PR to Feature Branch
runs-on: ${{ matrix.os }}
if: github.base_ref == 'feature/openapi-generator-sdk'
strategy:
matrix:
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
Expand Down

0 comments on commit f13032c

Please sign in to comment.