/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: Jelmer Vernooij
  • Date: 2017-06-08 23:30:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6690.
  • Revision ID: jelmer@jelmer.uk-20170608233031-3qavls2o7a1pqllj
Update imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
name: Python package
2
 
 
3
 
on: [push, pull_request]
4
 
 
5
 
jobs:
6
 
  build:
7
 
 
8
 
    continue-on-error: ${{ matrix.experimental }}
9
 
    runs-on: ${{ matrix.os }}
10
 
    strategy:
11
 
      matrix:
12
 
        os: [ubuntu-latest]
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
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: |
29
 
        sudo apt install quilt
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
35
 
        pip install -U pip coverage codecov flake8 testtools paramiko fastimport configobj cython testscenarios six docutils $TEST_REQUIRE sphinx sphinx_epytext launchpadlib patiencediff pyinotify git+https://github.com/dulwich/dulwich
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
46
 
      env:
47
 
        PYTHONHASHSEED: random
48
 
        BRZ_PLUGIN_PATH: -site:-user