mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-23 18:15:13 +02:00
Bumps the actions-minor-and-patch group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [pnpm/action-setup](https://github.com/pnpm/action-setup). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v7...3d3c42e5aac5ba805825da76410c181273ba90b1) Updates `pnpm/action-setup` from 6.0.10 to 6.1.0 - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/compare/0977fd99725f1db4007ccb2928dbb4e90d06cc86...ea17c68df8912ef543352723c149a84f56e3d413) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-and-patch - dependency-name: pnpm/action-setup dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
45 lines
1.7 KiB
YAML
45 lines
1.7 KiB
YAML
name: Standalone taste workflows
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'skills/taste-application/**'
|
|
- 'skills/taste-distillation/**'
|
|
- 'tests/test_taste_*.py'
|
|
- '.github/workflows/taste-skills.yml'
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'skills/taste-application/**'
|
|
- 'skills/taste-distillation/**'
|
|
- 'tests/test_taste_*.py'
|
|
- '.github/workflows/taste-skills.yml'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
offline:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Install local media dependencies
|
|
run: python -m pip install -r skills/taste-application/scripts/requirements.txt
|
|
- name: Build and install the reusable ECC engine
|
|
run: |
|
|
python -m pip wheel --no-deps skills/taste-application/scripts --wheel-dir /tmp/ecc-wheels
|
|
python -m pip install /tmp/ecc-wheels/ecc_tasteforge-*.whl
|
|
- name: Test canonical engine and original creative scripts
|
|
run: |
|
|
python -m unittest discover -s skills/taste-application/tests
|
|
python -m unittest discover -s tests -p 'test_taste_*.py'
|
|
cd /tmp
|
|
python -I -c "from pathlib import Path; import sys, tasteforge; from tasteforge.pack import load; root = Path(tasteforge.__file__).resolve(); assert root.is_relative_to(Path(sys.prefix).resolve()); fixture = root.parent / 'fixtures/flashethereal'; assert load(fixture).inspect()['validation']['status'] == 'valid'"
|
|
python -m tasteforge --help
|