Skip to content

[Abandoned]

[Abandoned] #61

Workflow file for this run

name: Python dependencies
on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- if: github.event_name != 'pull_request'
uses: actions/checkout@v6
- if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install -e .[dev]