Merge lp:~jelmer/brz/github-actions-3.1 into lp:brz/3.1

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: no longer in the source branch.
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/github-actions-3.1
Merge into: lp:brz/3.1
Diff against target: 57 lines (+49/-0)
1 file modified
.github/workflows/pythonpackage.yml (+49/-0)
To merge this branch: bzr merge lp:~jelmer/brz/github-actions-3.1
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+397850@code.launchpad.net

Commit message

Migrate to github actions for 3.1 branch.

Description of the change

Migrate to github actions for 3.1 branch.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.github'
2=== added directory '.github/workflows'
3=== added file '.github/workflows/pythonpackage.yml'
4--- .github/workflows/pythonpackage.yml 1970-01-01 00:00:00 +0000
5+++ .github/workflows/pythonpackage.yml 2021-02-10 18:07:56 +0000
6@@ -0,0 +1,49 @@
7+name: Python package
8+
9+on: [push, pull_request]
10+
11+jobs:
12+ build:
13+
14+ continue-on-error: ${{ matrix.experimental }}
15+ runs-on: ${{ matrix.os }}
16+ strategy:
17+ matrix:
18+ os: [ubuntu-latest]
19+ python-version: [3.6, 3.7, 3.8]
20+ experimental: [false]
21+# See https://github.com/actions/toolkit/issues/399
22+# include:
23+# - os: ubuntu-latest
24+# python-version: pypy3
25+# experimental: true
26+ fail-fast: false
27+
28+ steps:
29+ - uses: actions/checkout@v2
30+ - name: Set up Python ${{ matrix.python-version }}
31+ uses: actions/setup-python@v2
32+ with:
33+ python-version: ${{ matrix.python-version }}
34+ - name: Install dependencies (apt)
35+ run: |
36+ sudo apt install quilt
37+ if: "matrix.os == 'ubuntu-latest'"
38+ - name: Install dependencies
39+ run: |
40+ python -m pip install --upgrade pip
41+ pip install -U pip setuptools
42+ 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
43+ - name: Build docs
44+ run: |
45+ make docs PYTHON=python
46+ - name: Build extensions
47+ run: |
48+ make extensions PYTHON=python
49+ if: "matrix.python-version != 'pypy3'"
50+ - name: Test suite run
51+ run: |
52+ python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -Wignore::ResourceWarning -Wignore::UserWarning ./brz selftest
53+ env:
54+ PYTHONHASHSEED: random
55+ BRZ_PLUGIN_PATH: -site:-user
56
57=== removed file '.travis.yml'

Subscribers

People subscribed via source and target branches