Skip to content
This repository was archived by the owner on Aug 5, 2023. It is now read-only.

Commit 03d8e78

Browse files
committed
Reorganized workflow files
1 parent 4ac4290 commit 03d8e78

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install flake8 pytest
26+
pip install flake8
2727
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
28+
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
2829
- name: Lint with flake8
2930
run: |
3031
# stop the build if there are Python syntax errors or undefined names
@@ -36,5 +37,4 @@ jobs:
3637
# Region must be defined for the boto3 kms client
3738
AWS_DEFAULT_REGION: 'us-east-2'
3839
run: |
39-
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
4040
pytest

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install flake8 pytest setuptools wheel twine
24+
pip install flake8 setuptools wheel twine
2525
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26+
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
2627
- name: Lint with flake8
2728
run: |
2829
# stop the build if there are Python syntax errors or undefined names
@@ -34,7 +35,6 @@ jobs:
3435
# Region must be defined for the boto3 kms client
3536
AWS_DEFAULT_REGION: 'us-east-2'
3637
run: |
37-
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
3838
pytest
3939
- name: Build and publish
4040
env:

0 commit comments

Comments
 (0)