fix: remove failed tests caused by httpbin

This commit is contained in:
debugtalk
2022-03-23 21:59:10 +08:00
parent c228a08bec
commit 81cca335d8
6 changed files with 91 additions and 85 deletions

View File

@@ -1,17 +1,21 @@
name: integration_test
name: smoketest
on: [push]
on:
push:
pull_request:
types: [synchronize]
jobs:
integration_test:
smoketest:
name: integration_test - ${{ matrix.python-version }} on ${{ matrix.os }}
name: smoketest - ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 6
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
os: [ubuntu-latest, macos-latest] # TODO: windows-latest
python-version: [2.7, 3.5, 3.6]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
@@ -26,12 +30,12 @@ jobs:
pip install poetry
poetry --version
poetry install -vv
- name: Test package installation
- name: Test build package
run: |
poetry build
ls dist/*.whl | xargs pip install # test installation
hrun -V
locusts -V
ls dist/
- name: Run smoketest for hrun command
run: |
cd tests/httpbin && hrun basic.yml --failfast && cd -
cd tests/httpbin
poetry run hrun basic.yml --failfast
cd -

View File

@@ -1,6 +1,9 @@
name: unittest
on: [push]
on:
push:
pull_request:
types: [synchronize]
jobs:
unittest:
@@ -8,10 +11,11 @@ jobs:
name: unittest - ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 12
fail-fast: false
max-parallel: 6
matrix:
python-version: [2.7, 3.5, 3.6, 3.7] # TODO: 3.8
os: [ubuntu-latest, macos-latest] # TODO: windows-latest
python-version: [2.7, 3.5, 3.6]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1