οΈ2023 EuroSciPy CI (6922371d5f56d579794cd494fbcc77bb5b9766e5) #2
Workflow file for this run
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
defaults: | |
run: | |
# Use Bash shell with 'errexit' option to exit immediately if any command fails. | |
shell: bash -e {0} | |
jobs: | |
changes: | |
name: π Check out changes | |
runs-on: ubuntu-latest | |
timeout-minutes: 1 | |
permissions: | |
pull-requests: read | |
outputs: | |
changes: ${{ steps.filter.outputs.changes }} | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Check for backend file changes | |
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 #v3.0.2 | |
id: changes | |
with: | |
filters: | | |
changes: | |
- "2023_EuroSciPy/**/*.py" | |
- "2023_EuroSciPy/**/*.ipynb" | |
- "2023_EuroSciPy/requirements.txt" | |
build: | |
name: ποΈ Build with Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ "3.12" ] | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
sparse-checkout: 2023_EuroSciPy | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 | |
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 |