mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-24 00:53:47 +08:00
fix: remove failed tests caused by httpbin
This commit is contained in:
@@ -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 -
|
||||
12
.github/workflows/unittest.yml
vendored
12
.github/workflows/unittest.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user