New upstream version 0.0.15
This commit is contained in:
parent
3e1f11dd79
commit
c286789e37
55 changed files with 3578 additions and 1371 deletions
24
.github/workflows/disperse.yml
vendored
Normal file
24
.github/workflows/disperse.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
name: Disperse configuration
|
||||
|
||||
"on":
|
||||
- push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install protobuf-compiler
|
||||
- name: Install disperse
|
||||
run: |
|
||||
pip install git+https://github.com/jelmer/disperse
|
||||
- name: Validate disperse.conf
|
||||
run: |
|
||||
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python disperse validate .
|
27
.github/workflows/pythonpackage.yml
vendored
27
.github/workflows/pythonpackage.yml
vendored
|
@ -1,6 +1,11 @@
|
|||
---
|
||||
name: Python package
|
||||
|
||||
on: [push, pull_request]
|
||||
"on":
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 6 * * *' # Daily 6AM UTC build
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -9,7 +14,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
python-version: [3.7, 3.8]
|
||||
python-version: [3.7, 3.8, 3.9, '3.10']
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
@ -20,28 +25,28 @@ jobs:
|
|||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip flake8 cython
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -e ".[remote,dep_server,dev]"
|
||||
python setup.py develop
|
||||
- name: Install Debian-specific dependencies
|
||||
run: |
|
||||
sudo apt install libapt-pkg-dev
|
||||
python -m pip install wheel
|
||||
python -m pip install git+https://salsa.debian.org/apt-team/python-apt
|
||||
sudo apt update
|
||||
sudo apt install python3-wheel libapt-pkg-dev
|
||||
python -m pip install \
|
||||
python_apt@git+https://salsa.debian.org/apt-team/python-apt.git
|
||||
python -m pip install -e ".[debian]"
|
||||
python -m pip install testtools
|
||||
mkdir -p ~/.config/breezy/plugins
|
||||
brz branch lp:brz-debian ~/.config/breezy/plugins/debian
|
||||
if: "matrix.python-version != 'pypy3' && matrix.os == 'ubuntu-latest'"
|
||||
- name: Style checks
|
||||
run: |
|
||||
pip install flake8
|
||||
python -m flake8
|
||||
- name: Typing checks
|
||||
run: |
|
||||
pip install -U mypy
|
||||
pip install -U mypy types-toml
|
||||
python -m mypy ognibuild
|
||||
if: "matrix.python-version != 'pypy3'"
|
||||
- name: Test suite run
|
||||
run: |
|
||||
python -m unittest ognibuild.tests.test_suite
|
||||
python -m unittest tests.test_suite
|
||||
env:
|
||||
PYTHONHASHSEED: random
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue