3
on: [push, pull_request]
8
runs-on: ${{ matrix.os }}
12
python-version: [3.6, 3.7, 3.8, pypy3]
16
- uses: actions/checkout@v2
17
- name: Set up Python ${{ matrix.python-version }}
18
uses: actions/setup-python@v2
20
python-version: ${{ matrix.python-version }}
21
- name: Install dependencies (apt)
23
sudo apt install subunit quilt
24
if: "matrix.os == 'ubuntu-latest'"
25
- name: Install dependencies
27
python -m pip install --upgrade pip
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
32
make docs PYTHON=python
33
- name: Build extensions
35
make extensions PYTHON=python
36
if: "matrix.python-version != 'pypy3'"
37
- name: Test suite run
39
python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest --parallel=fork
40
if: "matrix.os == 'ubuntu-latest'"
42
PYTHONHASHSEED: random
43
BRZ_PLUGIN_PATH: -site:-user
44
- name: Test suite run
46
python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest
47
if: "matrix.os != 'ubuntu-latest'"
49
PYTHONHASHSEED: random
50
BRZ_PLUGIN_PATH: -site:-user