Skip to content

Commit

Permalink
Remove conda environments and add only pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Sep 2, 2024
1 parent fc446d1 commit 6ca8db1
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 105 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/macos-tests-3.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.10
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.10
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/macos-tests-3.11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.11
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.11
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/macos-tests-3.12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.12
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.12
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/macos-tests-3.8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.8
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.8
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/macos-tests-3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.9
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.9
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/ubuntu-tests-3.10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.10
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.10
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand All @@ -34,4 +24,4 @@ jobs:
run: pip install setuptools && pip install .
- name: Run unit tests
run: |
cd tests/unit && python -m unittest discover -s . -p "*.py"
cd tests/unit && pytest --cov=../../
12 changes: 1 addition & 11 deletions .github/workflows/ubuntu-tests-3.11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.11
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.11
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand All @@ -34,4 +24,4 @@ jobs:
run: pip install setuptools && pip install .
- name: Run unit tests
run: |
cd tests/unit && python -m unittest discover -s . -p "*.py"
cd tests/unit && pytest --cov=../../
12 changes: 1 addition & 11 deletions .github/workflows/ubuntu-tests-3.12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.12
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.12
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand All @@ -31,4 +21,4 @@ jobs:
run: pip install setuptools && pip install .
- name: Run unit tests
run: |
cd tests/unit && python -m unittest discover -s . -p "*.py"
cd tests/unit && pytest --cov=../../
12 changes: 1 addition & 11 deletions .github/workflows/ubuntu-tests-3.8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.8
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.8
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand All @@ -34,4 +24,4 @@ jobs:
run: pip install setuptools && pip install .
- name: Run unit tests
run: |
cd tests/unit && python -m unittest discover -s . -p "*.py"
cd tests/unit && pytest --cov=../../
12 changes: 1 addition & 11 deletions .github/workflows/ubuntu-tests-3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.9
miniconda-version: "latest"
- name: Create conda env
run: conda create -n spare python=3.9
- name: Install pip
run: conda run -n spare conda install pip
- name: Install spare scores
run: |
python -m pip cache purge
Expand All @@ -34,4 +24,4 @@ jobs:
run: pip install setuptools && pip install .
- name: Run unit tests
run: |
cd tests/unit && python -m unittest discover -s . -p "*.py"
cd tests/unit && pytest --cov=../../

0 comments on commit 6ca8db1

Please sign in to comment.