diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5e51452..07097cf 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -40,11 +40,12 @@ jobs: uses: codecov/codecov-action@v3 build_wheels: + needs: [build] if: startsWith( github.ref, 'refs/tags/') name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} env: - CIBW_SKIP: cp36-* cp37-* cp312-* pp* + CIBW_SKIP: cp36-* cp37-* cp38-* cp312-* pp* strategy: matrix: os: [ubuntu-22.04, windows-2022, macos-11] @@ -60,6 +61,7 @@ jobs: path: ./wheelhouse/*.whl build_sdist: + needs: [build] if: startsWith( github.ref, 'refs/tags/') name: Build source distribution runs-on: ubuntu-latest diff --git a/README.md b/README.md index 4e533ae..c512ac8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ [![Build](https://github.com/jdtuck/fdasrsf_python/actions/workflows/python-package.yml/badge.svg)](https://github.com/jdtuck/fdasrsf_python/actions/workflows/python-package.yml) [![codecov](https://codecov.io/gh/jdtuck/fdasrsf_python/branch/master/graph/badge.svg)](https://codecov.io/gh/jdtuck/fdasrsf_python) -[![Build status](https://img.shields.io/appveyor/ci/jdtuck/fdasrsf-python.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/jdtuck/fdasrsf-python/branch/master) [![Documentation Status](https://readthedocs.org/projects/fdasrsf-python/badge/?version=latest)](https://fdasrsf-python.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/fdasrsf.svg)](https://badge.fury.io/py/fdasrsf) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/fdasrsf/badges/version.svg)](https://anaconda.org/conda-forge/fdasrsf) [![Join the chat at https://gitter.im/fdasrsf_python/community](https://badges.gitter.im/fdasrsf_python/community.svg)](https://gitter.im/fdasrsf_python/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index bab717c..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,72 +0,0 @@ -# appveyor.yml ---- -image: - - Visual Studio 2019 - -notifications: - - provider: Email - to: - - jdtuck@sandia.gov - - dtucker1@illinois.edu - on_build_success: false - on_build_failure: true - on_build_status_changed: true - -environment: - matrix: - - PYTHON_VERSION: 3.8 - MINICONDA: C:\Miniconda38 - - PYTHON_VERSION: 3.9 - MINICONDA: C:\Miniconda38 - - PYTHON_VERSION: 3.10 - MINICONDA: C:\Miniconda38 - password: - secure: CbIMf2FJQKL3/LyfbnEgBnyfM4yIqpaMH3zkQLSF1E0/bmoafe5880sFb2zFqWkt3x3m3OZj2iYT4y98HAjETn5CO4USnkOIAOdZNxP7NF/drv/Xqj/nTCPiYAJDWYt/p5HXS2ZoLFASoSfcEbuqc8ynvAcvmxDw4Fez15k0BA9a4luH1vRxmZV2MWK3O8yUI9mLgm10rWFNk5rV1MYnoHGbNhQ7qFdYahum92hrothmY7R8unVGLfyxkR6cPO2uR18VUXiXhOsw83C8r4+Eag== - -platform: - - x64 - -init: - - ps: if ($Env:PLATFORM -eq "x64") { $Env:MINICONDA = "${Env:MINICONDA}-x64" } - - ps: Write-Host $Env:PYTHON_VERSION - - ps: Write-Host $Env:MINICONDA - - ps: Write-Host $Env:PLATFORM - - ps: Write-Host $Env:APPVEYOR_REPO_TAG - - ps: Write-Host $Env:APPVEYOR_REPO_TAG_NAME - - ps: Write-Host $Env:APPVEYOR_REPO_NAME - -install: - - '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64' - # Load the conda root environment, configure and install some packages - - '"%MINICONDA%\Scripts\activate.bat"' - - conda config --set always_yes yes --set changeps1 no - - conda config --add channels conda-forge - - conda update -q conda - - conda create -q -n test-environment python=%PYTHON_VERSION% - - conda activate test-environment - # Show conda info for debugging - - conda info -a - - pip install -e . - -build: false - -#test_script: -# - python -m unittest discover - -after_test: - - python setup.py bdist_wheel - -artifacts: - # bdist_wheel puts your built wheel in the dist directory - - path: dist\* - -deploy_script: - - ps: | - if($env:APPVEYOR_REPO_TAG -eq 'true') { - Write-Output ("Deploying " + $env:APPVEYOR_REPO_TAG_NAME + " to PyPI...") - python -m pip install twine - python -m twine upload -u __token__ -p ${Env:password} --skip-existing dist/*.whl - } else { - Write-Output "No tag for deployment" - } -