Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d9ccf5e

Browse files
committed
Separate unit tests, remove strategy
1 parent eb8d797 commit d9ccf5e

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

‎.github/workflows/python2x_build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ on: [push]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
python_ver: [2]
118
steps:
129
- uses: actions/checkout@v1
1310
- name: setup python
1411
uses: actions/setup-python@v1
1512
with:
16-
python-version: ${{ matrix.python_ver }}
13+
python-version: 2
1714
- name: start server
1815
run: python app.py & sleep 10 && curl -X POST http://localhost:1024

‎.github/workflows/python3x_build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ on: [push]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
python_ver: [3]
118
steps:
129
- uses: actions/checkout@v1
1310
- name: setup python
1411
uses: actions/setup-python@v1
1512
with:
16-
python-version: ${{ matrix.python_ver }}
13+
python-version: 3
1714
- name: start server
1815
run: python app.py & sleep 10 && curl -X POST http://localhost:1024

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ requests.
1010

1111
No authentication enabled, no SSL. Not Production ready!
1212

13-
![](https://github.com/sduff/adding_rest_api_to_python_app/workflows/Test with Python 2.x/badge.svg)
13+
![](https://github.com/sduff/adding_rest_api_to_python_app/workflows/Test%20with%20Python%202.x/badge.svg)
1414

15-
![](https://github.com/sduff/adding_rest_api_to_python_app/workflows/Test with Python 3.x/badge.svg)
15+
![](https://github.com/sduff/adding_rest_api_to_python_app/workflows/Test%20with%20Python%203.x/badge.svg)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /