[pre-commit.ci] pre-commit weekly autoupdate #2686
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: installation | |
| on: | |
| pull_request: | |
| branches: [devel] | |
| jobs: | |
| buildtest-installation: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest, macos-13, ubuntu-latest] | |
| python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5.0.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: "Install zsh and tcsh" | |
| run: | | |
| if [[ ${{ matrix.os }} == 'ubuntu-latest' ]]; then | |
| sudo apt-get install -y tcsh zsh | |
| else | |
| brew install tcsh zsh | |
| fi | |
| - name: Buildtest Installation for os - ${{ matrix.os }}, python version - ${{ matrix.python-version }}, shell - bash | |
| shell: bash | |
| run: | | |
| echo $SHELL | |
| pip install -U pip | |
| source setup.sh | |
| which buildtest | |
| buildtest --help | |
| - name: Buildtest Installation for os - ${{ matrix.os }}, python version - ${{ matrix.python-version }}, shell - zsh | |
| shell: zsh {0} | |
| run: | | |
| echo $SHELL | |
| pip install -U pip | |
| source setup.sh | |
| which buildtest | |
| buildtest --help | |
| - name: Buildtest Installation for os - ${{ matrix.os }}, python version - ${{ matrix.python-version }}, shell - csh | |
| shell: csh {0} | |
| run: | | |
| echo $shell | |
| pip install -U pip | |
| source setup.csh | |
| which buildtest | |
| buildtest --help |