/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to .github/workflows/pythonpackage.yml

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-11 12:46:45 UTC
  • mfrom: (7511.1.1 actions-no-fork)
  • Revision ID: breezy.the.bot@gmail.com-20200611124645-4lx66gps99i0hmzh
Avoid using fork when running the testsuite in github actions.

Merged from https://code.launchpad.net/~jelmer/brz/actions-no-fork/+merge/385565

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        python-version: ${{ matrix.python-version }}
21
21
    - name: Install dependencies (apt)
22
22
      run: |
23
 
        sudo apt install subunit quilt
 
23
        sudo apt install quilt
24
24
      if: "matrix.os == 'ubuntu-latest'"
25
25
    - name: Install dependencies
26
26
      run: |
27
27
        python -m pip install --upgrade pip
28
28
        pip install -U pip setuptools
29
 
        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
 
29
        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
30
30
    - name: Build docs
31
31
      run: |
32
32
        make docs PYTHON=python
36
36
      if: "matrix.python-version != 'pypy3'"
37
37
    - name: Test suite run
38
38
      run: |
39
 
        python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest --parallel=fork
40
 
      if: "matrix.os == 'ubuntu-latest'"
41
 
      env:
42
 
        PYTHONHASHSEED: random
43
 
        BRZ_PLUGIN_PATH: -site:-user
44
 
    - name: Test suite run
45
 
      run: |
46
39
        python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest
47
 
      if: "matrix.os != 'ubuntu-latest'"
48
 
      env:
 
40
      env
49
41
        PYTHONHASHSEED: random
50
42
        BRZ_PLUGIN_PATH: -site:-user