Skip to content

Commit

Permalink
cleanup: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Apr 27, 2024
1 parent a04e3b7 commit 1497978
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,13 @@ jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
python: ["3.10"]
name: Python ${{ matrix.python }}
steps:
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python }}
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
python-version: "3.10"
cache: 'pip'
cache-dependency-path: setup.py

Expand All @@ -35,7 +31,7 @@ jobs:
run: python -m pip install --upgrade pip setuptools wheel

- name: Install packages
run: pip install .[dev] pytest
run: pip install .[test]

# - name: Run black
# run: black --check --verbose --diff --color ${{env.PACKAGE_DIR}} ${{env.TESTS_DIR}}
Expand All @@ -53,4 +49,4 @@ jobs:
run: pytest tests/test.py

- name: Run NetworkX tests
run: pytest -s --pyargs networkx.classes networkx.algorithms.centrality
run: pytest --pyargs networkx.classes networkx.algorithms.centrality

0 comments on commit 1497978

Please sign in to comment.