Skip to content

Commit

Permalink
Bug fix with wrong version of python at both gh workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Jul 13, 2024
1 parent 1869887 commit 6047310
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/macos_test_cases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ["macos-latest"]

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
pthon-version: '3.8'
python-version: '3.8'
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -29,3 +29,5 @@ jobs:
- name: Run unit tests
run: |
cd tests/unit && python -m unittest discover -s . -p "*.py"
9 changes: 5 additions & 4 deletions .github/workflows/ubuntu_test_cases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ["ubuntu-latest"]

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
pthon-version: '3.8'
python-version: '3.8'
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -25,7 +25,8 @@ jobs:
- name: Install spare scores
run: conda run -n spare pip install spare_scores
- name: Download dependencies
run: pip install setuptools && pip install .
run: pip install setuptools && pip install .
- name: Run unit tests
run: |
cd tests/unit && python -m unittest discover -s . -p "*.py"

0 comments on commit 6047310

Please sign in to comment.