️2023 EuroSciPy CI (12658c9a406b0acb68b2f7d4a88676da9caaf823) #34
This file contains 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: "2023 EuroSciPy 🇨🇭Continuous Integration Demo" | |
run-name: "️2023 EuroSciPy CI (${{ github.sha }})" | |
on: | |
# The "pull_request" section is currently commented out because the workflow can still be manually triggered | |
# pull_request: | |
# branches: | |
# - main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash -e {0} | |
jobs: | |
build: | |
name: 🏗️Build with Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
python-version: [ "3.11" ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
sparse-checkout: 2023_EuroSciPy | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install 2023_EuroSciPy | |
run: | | |
cd 2023_EuroSciPy | |
python -m pip install --upgrade pip | |
python -m pip install ".[dev]" | |
- name: Run tests | |
run: | |
pytest 2023_EuroSciPy |