chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:36:30 +08:00
commit 55ab4e4a73
473 changed files with 72932 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
name: Test the package with pytest
on:
workflow_dispatch:
pull_request:
branches:
- pybind11
push:
branches:
- pybind11
jobs:
pytest:
name: Test with pytest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
# ubuntu 22.04 has deprecated python 3.6
python-version: [ "3.8", "3.9", "3.10","3.11", "3.12"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Installing dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "requirements.txt"
- name: Installing test dependencies
run: |
pip install pytest
- name: Build and install package
run: |
pip install .
- name: Test with pytest
run: |
pytest easygraph --disable-warnings