/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: 2020-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

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
 
# See https://github.com/actions/toolkit/issues/399
16
 
#        include:
17
 
#          - os: ubuntu-latest
18
 
#            python-version: pypy3
19
 
#            experimental: true
20
 
      fail-fast: false
21
 
 
22
 
    steps:
23
 
      - uses: actions/checkout@v2
24
 
      - name: Set up Python ${{ matrix.python-version }}
25
 
        uses: actions/setup-python@v2
26
 
        with:
27
 
          python-version: ${{ matrix.python-version }}
28
 
      - name: Install dependencies (apt)
29
 
        run: |
30
 
          sudo apt install quilt
31
 
        if: "matrix.os == 'ubuntu-latest'"
32
 
      - name: Install dependencies
33
 
        run: |
34
 
          python -m pip install --upgrade pip
35
 
          pip install -U pip setuptools
36
 
          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
37
 
      - name: Build docs
38
 
        run: |
39
 
          make docs PYTHON=python
40
 
      - name: Build extensions
41
 
        run: |
42
 
          make extensions PYTHON=python
43
 
        if: "matrix.python-version != 'pypy3'"
44
 
      - name: Test suite run
45
 
        run: |
46
 
          python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest
47
 
        env:
48
 
          PYTHONHASHSEED: random
49
 
          BRZ_PLUGIN_PATH: -site:-user