mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2025-12-31 20:36:26 +00:00
Update pip.yml
This commit is contained in:
17
.github/workflows/pip.yml
vendored
17
.github/workflows/pip.yml
vendored
@ -15,18 +15,18 @@ jobs:
|
||||
matrix:
|
||||
platform: [ubuntu-latest]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@ -36,16 +36,15 @@ jobs:
|
||||
build-essential \
|
||||
cmake \
|
||||
ninja-build
|
||||
|
||||
|
||||
- name: Add requirements
|
||||
run: python -m pip install --upgrade pip wheel setuptools
|
||||
|
||||
|
||||
- name: Build and install
|
||||
run: pip install --verbose .[test]
|
||||
|
||||
|
||||
- name: Test import
|
||||
run: python -c "import pylibbpf; print('Import successful')"
|
||||
|
||||
|
||||
- name: Test
|
||||
run: python -m pytest -v
|
||||
|
||||
Reference in New Issue
Block a user