Skip to content

Fix python-apt

Fix python-apt #72

Workflow file for this run

name: Rust
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: |
sudo apt -y update
sudo apt -y install devscripts bzr libapt-pkg-dev \
python -m pip install --upgrade pip setuptools \
wheel \
python_apt@git+https://salsa.debian.org/apt-team/python-apt.git@2.5.0
- run: python -m pip install breezy launchpadlib "bzr+lp:brz-debian"
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose