Skip to content

Commit

Permalink
added tests for the project
Browse files Browse the repository at this point in the history
  • Loading branch information
Formartha committed Apr 7, 2024
1 parent 2ced8f5 commit edaf658
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install networkx pytest
- name: Run tests
run: |
pytest tests/

0 comments on commit edaf658

Please sign in to comment.