fixed: update requirements.txt #1119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test the package with pytest | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
pytest: | |
name: Test with pytest | |
runs-on: ubuntu-20.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", "3.13"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
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 --disable-warnings --ignore=cpp_easygraph |