chore: import upstream snapshot with attribution
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user