Allow github tests to finish even if one fails, tweak windows tests

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
This commit is contained in:
Dan Ryan
2020-04-09 15:42:48 -04:00
parent 4bbcefb675
commit 5e68bcab8c
2 changed files with 4 additions and 4 deletions
+2 -3
View File
@@ -43,15 +43,14 @@ steps:
parameters:
python_version: ${{ parameters.python_version }}
- powershell: |
- shell: |
git submodule sync
git submodule update --init --recursive
Write-Host "Running Command: pipenv run pytest -n 4 --junitxml=junit/test-results.xml tests/"
$env:TEMP = "R:\"
pipenv run pytest -ra -n 4 --junit-xml=junit/test-results.xml tests/
failOnStderr: false
displayName: Run integration tests
env:
TEMP: 'R:\'
PYTHONWARNINGS: 'ignore:DEPRECATION'
PIPENV_NOSPIN: 1
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=accept-new -o CheckHostIP=no
+2 -1
View File
@@ -10,6 +10,7 @@ jobs:
matrix:
python-version: [2.7, 3.6, 3.7, 3.8]
os: [macOS-latest, ubuntu-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v1
@@ -50,4 +51,4 @@ jobs:
PYTHONIOENCODING: 'utf-8'
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=accept-new -o CheckHostIP=no
run: |
pipenv run pytest -ra -n 4 --timeout 300 tests
pipenv run pytest -ra -n 4 tests