diff --git a/.cirrus.yml b/.cirrus.yml index 86a7808..c48bdbb 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,74 +1,74 @@ -Lint_task: - container: &linux - image: python:3.14-slim - cpu: 1 - memory: 512Mi - install_script: - - pip install -U --upgrade-strategy eager pip 'setuptools>61' - - pip install . - - pip install .[lint] .[test] - script: - - ruff --version - - mypy --version - - bork run lint - -Linux_task: - container: - cpu: 1 - memory: 512Mi - matrix: - - image: python:3.11-slim - - image: python:3.12-slim - - image: python:3.13-slim - - image: python:3.14-slim - install_script: - - apt-get update - - apt-get install -y git - - pip install -U --upgrade-strategy eager pip 'setuptools>61' - - pip install . .[test] - version_script: - - python3 --version - matrix: - - alias: Linux quick - script: bork run test-fast - - alias: Linux slow - depends_on: [Linux quick] - script: bork run test-slow - always: - upload_results_artifacts: - path: ./bork-junit.xml - format: junit - type: text/xml - -macOS_task: - alias: macOS tests - macos_instance: - cpu: 1 - image: ghcr.io/cirruslabs/macos-runner:sonoma - env: - PATH: ${HOME}/.pyenv/shims:${PATH} - PYTHON: "3.14" - brew_update_script: - - brew update - brew_install_script: - # Per the pyenv homebrew recommendations. - # https://github.com/pyenv/pyenv/wiki#suggested-build-environment - - brew install pyenv git - pyenv_install_script: - - pyenv install ${PYTHON} - - pyenv global ${PYTHON} - - pyenv rehash - pip_install_script: - - pip install -U --upgrade-strategy eager pip 'setuptools>61' - - pip install .[test] - script: - - python3 --version - - bork run test - always: - upload_results_artifacts: - path: ./bork-junit.xml - format: junit - type: text/xml +#Lint_task: +# container: &linux +# image: python:3.14-slim +# cpu: 1 +# memory: 512Mi +# install_script: +# - pip install -U --upgrade-strategy eager pip 'setuptools>61' +# - pip install . +# - pip install .[lint] .[test] +# script: +# - ruff --version +# - mypy --version +# - bork run lint +# +#Linux_task: +# container: +# cpu: 1 +# memory: 512Mi +# matrix: +# - image: python:3.11-slim +# - image: python:3.12-slim +# - image: python:3.13-slim +# - image: python:3.14-slim +# install_script: +# - apt-get update +# - apt-get install -y git +# - pip install -U --upgrade-strategy eager pip 'setuptools>61' +# - pip install . .[test] +# version_script: +# - python3 --version +# matrix: +# - alias: Linux quick +# script: bork run test-fast +# - alias: Linux slow +# depends_on: [Linux quick] +# script: bork run test-slow +# always: +# upload_results_artifacts: +# path: ./bork-junit.xml +# format: junit +# type: text/xml +# +#macOS_task: +# alias: macOS tests +# macos_instance: +# cpu: 1 +# image: ghcr.io/cirruslabs/macos-runner:sonoma +# env: +# PATH: ${HOME}/.pyenv/shims:${PATH} +# PYTHON: "3.14" +# brew_update_script: +# - brew update +# brew_install_script: +# # Per the pyenv homebrew recommendations. +# # https://github.com/pyenv/pyenv/wiki#suggested-build-environment +# - brew install pyenv git +# pyenv_install_script: +# - pyenv install ${PYTHON} +# - pyenv global ${PYTHON} +# - pyenv rehash +# pip_install_script: +# - pip install -U --upgrade-strategy eager pip 'setuptools>61' +# - pip install .[test] +# script: +# - python3 --version +# - bork run test +# always: +# upload_results_artifacts: +# path: ./bork-junit.xml +# format: junit +# type: text/xml FreeBSD_task: alias: FreeBSD tests @@ -89,42 +89,42 @@ FreeBSD_task: format: junit type: text/xml -Windows_task: - windows_container: - image: cirrusci/windowsservercore:2019 - env: - matrix: - - PYTHON: 3.11.9 - - PYTHON: 3.12.10 - - PYTHON: 3.13.9 - - PYTHON: 3.14.0 - python_install_script: - # https://docs.python.org/3.6/using/windows.html#installing-without-ui - - ps: Invoke-WebRequest -Uri https://www.python.org/ftp/python/${env:PYTHON}/python-${env:PYTHON}-amd64.exe -OutFile C:\python-installer.exe - - C:\python-installer.exe /quiet TargetDir=C:\Python SimpleInstall=1 - install_script: - - C:\Python\python.exe -m pip install -U --upgrade-strategy eager pip "setuptools>61" - - C:\Python\python.exe -m pip install .[test] - version_info_script: - - C:\Python\python.exe --version - test_script: - - C:\Python\python.exe -m pytest --verbose - always: - upload_results_artifacts: - path: ./bork-junit.xml - format: junit - type: text/xml - -success_task: - name: CI success - container: *linux - depends_on: - - FreeBSD tests - - Linux quick - - Linux slow - - macOS tests - - Lint - - Windows +#Windows_task: +# windows_container: +# image: cirrusci/windowsservercore:2019 +# env: +# matrix: +# - PYTHON: 3.11.9 +# - PYTHON: 3.12.10 +# - PYTHON: 3.13.9 +# - PYTHON: 3.14.0 +# python_install_script: +# # https://docs.python.org/3.6/using/windows.html#installing-without-ui +# - ps: Invoke-WebRequest -Uri https://www.python.org/ftp/python/${env:PYTHON}/python-${env:PYTHON}-amd64.exe -OutFile C:\python-installer.exe +# - C:\python-installer.exe /quiet TargetDir=C:\Python SimpleInstall=1 +# install_script: +# - C:\Python\python.exe -m pip install -U --upgrade-strategy eager pip "setuptools>61" +# - C:\Python\python.exe -m pip install .[test] +# version_info_script: +# - C:\Python\python.exe --version +# test_script: +# - C:\Python\python.exe -m pytest --verbose +# always: +# upload_results_artifacts: +# path: ./bork-junit.xml +# format: junit +# type: text/xml +# +#success_task: +# name: CI success +# container: *linux +# depends_on: +# - FreeBSD tests +# - Linux quick +# - Linux slow +# - macOS tests +# - Lint +# - Windows # If bork/version.py is modified on the main branch, make a release. #Release_task: diff --git a/.github/BORK_RELEASE_TEMPLATE.md b/.github/BORK_RELEASE_TEMPLATE.md index 32891d1..53bfedd 100644 --- a/.github/BORK_RELEASE_TEMPLATE.md +++ b/.github/BORK_RELEASE_TEMPLATE.md @@ -1,7 +1,6 @@ {project_name} {tag} is now available! PyPI package: https://pypi.org/project/bork/{version}/ -Docker image: https://hub.docker.com/r/duckinator/bork/ You can help {project_name} by supporting me on [GitHub Sponsors](https://github.com/sponsors/duckinator)!