Skip to content

feat(python): bump to 3.13 #1953

feat(python): bump to 3.13

feat(python): bump to 3.13 #1953

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
schedule:
- cron: 0 8 * * 6
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Create workfolder
run: |
mkdir -p ~/dotfiles-install-dir
- name: Install dotfiles
run: |
HOME=~/dotfiles-install-dir ./install -vv
- name: Show dotfiles
run: |
ls -alh ~/dotfiles-install-dir
- name: Test homebrew installer
run: |
HOME=~/dotfiles-install-dir installers/homebrew.sh
- name: Test Brewfile install (macos)
run: |
brew upgrade
brew bundle --file=_macos/Brewfile --verbose
if: runner.os == 'macOS'
- name: Test Brewfile install (linux)
run: /home/linuxbrew/.linuxbrew/bin/brew bundle --file=_linux/Brewfile --verbose
if: runner.os == 'linux'
- name: Test Python installer + setup
run: |
echo $PYENV_ROOT
echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
HOME=~/dotfiles-install-dir installers/python.sh
# Test Pyenv-installed Python version
python -c "import sys; print(sys.version)"
python -c "import sys; assert sys.version.startswith('${BASE_PYTHON_VER}')"
# Test Pipx
poetry --version
env:
PYENV_ROOT: /home/runner/dotfiles-install-dir/.pyenv
if: runner.os == 'Linux'
- name: Test docker installer
run: |
HOME=~/dotfiles-install-dir installers/docker.sh
- name: Test Docker setup
run: |
sudo docker run hello-world
if: runner.os == 'Linux'