diff --git a/.github/workflows/macos-tests-3.10.yml b/.github/workflows/macos-tests-3.10.yml index 70d2557..f2b362b 100644 --- a/.github/workflows/macos-tests-3.10.yml +++ b/.github/workflows/macos-tests-3.10.yml @@ -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 diff --git a/.github/workflows/macos-tests-3.11.yml b/.github/workflows/macos-tests-3.11.yml index e897239..6e263f6 100644 --- a/.github/workflows/macos-tests-3.11.yml +++ b/.github/workflows/macos-tests-3.11.yml @@ -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 diff --git a/.github/workflows/macos-tests-3.12.yml b/.github/workflows/macos-tests-3.12.yml index 5fa18b8..5c5db75 100644 --- a/.github/workflows/macos-tests-3.12.yml +++ b/.github/workflows/macos-tests-3.12.yml @@ -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 diff --git a/.github/workflows/macos-tests-3.8.yml b/.github/workflows/macos-tests-3.8.yml index 6c2eb7c..b90ad11 100644 --- a/.github/workflows/macos-tests-3.8.yml +++ b/.github/workflows/macos-tests-3.8.yml @@ -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 diff --git a/.github/workflows/macos-tests-3.9.yml b/.github/workflows/macos-tests-3.9.yml index efa5a65..9e392d8 100644 --- a/.github/workflows/macos-tests-3.9.yml +++ b/.github/workflows/macos-tests-3.9.yml @@ -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 diff --git a/.github/workflows/ubuntu-tests-3.10.yml b/.github/workflows/ubuntu-tests-3.10.yml index 9e313a3..e633a42 100644 --- a/.github/workflows/ubuntu-tests-3.10.yml +++ b/.github/workflows/ubuntu-tests-3.10.yml @@ -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 @@ -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=../../ diff --git a/.github/workflows/ubuntu-tests-3.11.yml b/.github/workflows/ubuntu-tests-3.11.yml index 2daf4f2..8156691 100644 --- a/.github/workflows/ubuntu-tests-3.11.yml +++ b/.github/workflows/ubuntu-tests-3.11.yml @@ -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 @@ -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=../../ diff --git a/.github/workflows/ubuntu-tests-3.12.yml b/.github/workflows/ubuntu-tests-3.12.yml index 9c90ced..038f30d 100644 --- a/.github/workflows/ubuntu-tests-3.12.yml +++ b/.github/workflows/ubuntu-tests-3.12.yml @@ -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 @@ -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=../../ diff --git a/.github/workflows/ubuntu-tests-3.8.yml b/.github/workflows/ubuntu-tests-3.8.yml index 58fa623..94d8070 100644 --- a/.github/workflows/ubuntu-tests-3.8.yml +++ b/.github/workflows/ubuntu-tests-3.8.yml @@ -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 @@ -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=../../ diff --git a/.github/workflows/ubuntu-tests-3.9.yml b/.github/workflows/ubuntu-tests-3.9.yml index f774981..72f475e 100644 --- a/.github/workflows/ubuntu-tests-3.9.yml +++ b/.github/workflows/ubuntu-tests-3.9.yml @@ -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 @@ -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=../../