Skip to content

Commit f13032c

Browse files
committed
update tests workflows for feature branch
1 parent 29ab2f5 commit f13032c

File tree

2 files changed

+2
-48
lines changed

2 files changed

+2
-48
lines changed

.github/workflows/test-nightly.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -43,29 +43,6 @@ jobs:
4343
with:
4444
ruby-version: ${{ matrix.ruby-version }}
4545

46-
- name: Install Packages and Test
47-
run: |
48-
bundle install
49-
rake
50-
51-
test_feature:
52-
name: Test Feature Branch Nightly
53-
runs-on: ${{ matrix.os }}
54-
strategy:
55-
matrix:
56-
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
57-
ruby-version: [2.7, 3.0, 3.1, 3.2]
58-
steps:
59-
- name: Checkout
60-
uses: actions/checkout@v3
61-
with:
62-
ref: 'feature/openapi-generator-sdk'
63-
64-
- name: Set up Ruby
65-
uses: ruby/setup-ruby@v1
66-
with:
67-
ruby-version: ${{ matrix.ruby-version }}
68-
6946
- name: Install Packages and Test
7047
env:
7148
RUBY_VERSION: ${{ matrix.ruby-version }}

.github/workflows/test-pr.yml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,9 @@ env:
2424
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}
2525

2626
jobs:
27-
test_pr_main:
28-
name: Test PR to Main Branch
27+
test_pr:
28+
name: Test PR
2929
runs-on: ${{ matrix.os }}
30-
if: github.base_ref == 'main'
31-
strategy:
32-
matrix:
33-
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
34-
ruby-version: [2.6, 2.7, 3.0]
35-
steps:
36-
- name: Checkout
37-
uses: actions/checkout@v3
38-
39-
- name: Set up Ruby
40-
uses: ruby/setup-ruby@v1
41-
with:
42-
ruby-version: ${{ matrix.ruby-version }}
43-
44-
- name: Install Packages and Test
45-
run: |
46-
bundle install
47-
rake
48-
49-
test_pr_feature:
50-
name: Test PR to Feature Branch
51-
runs-on: ${{ matrix.os }}
52-
if: github.base_ref == 'feature/openapi-generator-sdk'
5330
strategy:
5431
matrix:
5532
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]

0 commit comments

Comments
 (0)