Skip to content

Add mise setup for linux and macos #1

Add mise setup for linux and macos

Add mise setup for linux and macos #1

Workflow file for this run

---
name: test
on:
push: # only publishes pushes to the main branch to TestPyPI
branches: # any integration branch but not tag
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os || 'ubuntu-24.04' }}
# defaults:
# run:
# shell: ${{ matrix.shell || 'bash'}}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- windows-2022
- macos-11.0
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed by setuptools-scm
submodules: true
- name: Install mise
uses: jdx/mise-action@v2
- name: Valdate mise availability
run: |
set -euo pipefail
mise --version
mise doctor
mise exec --command "python3 --version"
mise exec --command "gh --version"