bzr branch
http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
|
7502.2.1
by Jelmer Vernooij
Add github action. |
1 |
name: Python package |
2 |
||
3 |
on: [push, pull_request] |
|
4 |
||
5 |
jobs: |
|
6 |
build: |
|
7 |
||
|
7514.1.1
by Jelmer Vernooij
Mark pypy3 build as experimental since it currently fails. |
8 |
continue-on-error: ${{ matrix.experimental }} |
|
7502.2.1
by Jelmer Vernooij
Add github action. |
9 |
runs-on: ${{ matrix.os }} |
10 |
strategy: |
|
11 |
matrix: |
|
12 |
os: [ubuntu-latest] |
|
|
7514.1.1
by Jelmer Vernooij
Mark pypy3 build as experimental since it currently fails. |
13 |
python-version: [3.6, 3.7, 3.8] |
14 |
experimental: [false] |
|
15 |
include: |
|
16 |
- os: ubuntu-latest |
|
17 |
python-version: pypy3 |
|
18 |
experimental: true |
|
|
7502.2.1
by Jelmer Vernooij
Add github action. |
19 |
fail-fast: false |
20 |
||
21 |
steps: |
|
22 |
- uses: actions/checkout@v2 |
|
23 |
- name: Set up Python ${{ matrix.python-version }} |
|
24 |
uses: actions/setup-python@v2 |
|
25 |
with: |
|
26 |
python-version: ${{ matrix.python-version }} |
|
27 |
- name: Install dependencies (apt) |
|
28 |
run: | |
|
|
7511.1.1
by Jelmer Vernooij
Simplify github action by not using fork. |
29 |
sudo apt install quilt |
|
7502.2.1
by Jelmer Vernooij
Add github action. |
30 |
if: "matrix.os == 'ubuntu-latest'" |
31 |
- name: Install dependencies |
|
32 |
run: | |
|
33 |
python -m pip install --upgrade pip |
|
34 |
pip install -U pip setuptools |
|
|
7511.1.1
by Jelmer Vernooij
Simplify github action by not using fork. |
35 |
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 |
|
7502.2.1
by Jelmer Vernooij
Add github action. |
36 |
- name: Build docs |
37 |
run: | |
|
38 |
make docs PYTHON=python |
|
39 |
- name: Build extensions |
|
40 |
run: | |
|
41 |
make extensions PYTHON=python |
|
42 |
if: "matrix.python-version != 'pypy3'" |
|
43 |
- name: Test suite run |
|
44 |
run: | |
|
45 |
python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest |
|
|
7512.1.1
by Jelmer Vernooij
Drop appveyor + travis configuration. |
46 |
env: |
|
7502.2.1
by Jelmer Vernooij
Add github action. |
47 |
PYTHONHASHSEED: random |
48 |
BRZ_PLUGIN_PATH: -site:-user |