25 lines
550 B
YAML
25 lines
550 B
YAML
name: Test alpha processing
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.12"]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- run: python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
|
|
- run: python -m pip install numpy pytest Pillow
|
|
- run: python -m pytest -q
|