Skip to content

Commit

Permalink
ci testing with different python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom authored and Tom committed Aug 19, 2024
1 parent 83ab717 commit 842004d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/ci-python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,23 @@ jobs:
# Define the type of runner to use
runs-on: ubuntu-latest

# # Define strategy for matrix builds
# strategy:
# matrix:
# # You can change the default value as needed
# python-version: ['3.8', '3.9', '3.10']
# Define strategy for matrix builds
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']

steps:
# Step: Check out the repository's code to the runner
- name: checkout-code
uses: actions/checkout@v3

- name: Set up Python 3.9
uses: actions/setup-python@v2
# Step: Set up Python environment
- name: setup-python-env ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}

# # Step: Set up Python environment
# - name: setup-python-env ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}

# Step: Install project dependencies using pip
# Step: Install project dependencies
- name: Install dependencies
run: |
$CONDA/bin/conda env update --file environment.yml --name base
Expand All @@ -45,4 +39,4 @@ jobs:
# Step: Run tests with Pytest
- name: run-tests
run: |
$CONDA/bin/pytest -vv
$CONDA/bin/pytest
4 changes: 4 additions & 0 deletions comptox_ai/db/graph_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,3 +1004,7 @@ def find_shortest_paths(self, node1, node2, cleaned=True):
----------
node1 : comptox
"""




0 comments on commit 842004d

Please sign in to comment.