Merge lp:~jelmer/brz/actions-no-fork into lp:brz

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: no longer in the source branch.
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/actions-no-fork
Merge into: lp:brz
Diff against target: 36 lines (+3/-11)
1 file modified
.github/workflows/pythonpackage.yml (+3/-11)
To merge this branch: bzr merge lp:~jelmer/brz/actions-no-fork
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+385565@code.launchpad.net

Commit message

Avoid using fork when running the testsuite in github actions.

Description of the change

Avoid using fork when running the testsuite in github actions.

Several tests appear to be flaky when run under subunit, and --fork currently
doesn't work on Windows.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.github/workflows/pythonpackage.yml'
2--- .github/workflows/pythonpackage.yml 2020-05-24 00:39:50 +0000
3+++ .github/workflows/pythonpackage.yml 2020-06-11 12:21:35 +0000
4@@ -20,13 +20,13 @@
5 python-version: ${{ matrix.python-version }}
6 - name: Install dependencies (apt)
7 run: |
8- sudo apt install subunit quilt
9+ sudo apt install quilt
10 if: "matrix.os == 'ubuntu-latest'"
11 - name: Install dependencies
12 run: |
13 python -m pip install --upgrade pip
14 pip install -U pip setuptools
15- pip install -U pip coverage codecov flake8 testtools paramiko fastimport configobj cython testscenarios six docutils python-subunit $TEST_REQUIRE sphinx sphinx_epytext launchpadlib patiencediff git+https://github.com/dulwich/dulwich
16+ pip install -U pip coverage codecov flake8 testtools paramiko fastimport configobj cython testscenarios six docutils $TEST_REQUIRE sphinx sphinx_epytext launchpadlib patiencediff git+https://github.com/dulwich/dulwich
17 - name: Build docs
18 run: |
19 make docs PYTHON=python
20@@ -36,15 +36,7 @@
21 if: "matrix.python-version != 'pypy3'"
22 - name: Test suite run
23 run: |
24- python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest --parallel=fork
25- if: "matrix.os == 'ubuntu-latest'"
26- env:
27- PYTHONHASHSEED: random
28- BRZ_PLUGIN_PATH: -site:-user
29- - name: Test suite run
30- run: |
31 python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest
32- if: "matrix.os != 'ubuntu-latest'"
33- env:
34+ env
35 PYTHONHASHSEED: random
36 BRZ_PLUGIN_PATH: -site:-user

Subscribers

People subscribed via source and target branches