Skip to content

Commit c81ab36

Browse files
authored
SWI-3986 Fix Workflows for Deployment (#170)
1 parent 9f833dd commit c81ab36

File tree

2 files changed

+6
-29
lines changed

2 files changed

+6
-29
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ jobs:
9494
uses: actions/checkout@v2
9595

9696
- name: Install Packages
97-
run: pip install -r requirements_dev.txt
97+
run: |-
98+
pip install -r requirements.txt
99+
pip install -r test-requirements.txt
98100
99101
- name: Test
100102
env:

.github/workflows/test-nightly.yml

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -39,44 +39,19 @@ env:
3939
BW_NUMBER_PROVIDER: ${{ secrets.BW_NUMBER_PROVIDER }}
4040

4141
jobs:
42-
test_main:
43-
name: Test Main Branch Nightly
42+
test:
43+
name: Nightly Test
4444
runs-on: ${{ matrix.os }}
4545
strategy:
4646
matrix:
4747
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
48-
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
49-
steps:
50-
- name: Checkout
51-
uses: actions/checkout@v3
52-
with:
53-
ref: 'main'
54-
55-
- name: Set up Python
56-
uses: actions/setup-python@v4
57-
with:
58-
python-version: ${{ matrix.python-version }}
59-
60-
- name: Install Packages and Test
61-
run: |
62-
pip install -r requirements_dev.txt
63-
python -m pytest --pyargs bandwidth
64-
65-
test_feature:
66-
name: Test Feature Branch Nightly
67-
runs-on: ${{ matrix.os }}
68-
strategy:
69-
matrix:
70-
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
71-
python-version: [3.8, 3.9, '3.10']
48+
python-version: [3.8, 3.9, '3.10', '3.11']
7249
env:
7350
PYTHON_VERSION: ${{ matrix.python-version }}
7451
OPERATING_SYSTEM: ${{ matrix.os }}
7552
steps:
7653
- name: Checkout
7754
uses: actions/checkout@v3
78-
with:
79-
ref: 'feature/openapi-generator-sdk'
8055

8156
- name: Set up Python
8257
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)