Some checks failed
release / build-release (push) Has been cancelled
- IChannel: creators -> sub-channels -> video posts (public listing API, search mapped) - IRequiresMediaInfoCallback -> signed proxy URLs; stream controller rewrites HLS so the AES-128 key is fetched server-side with the session cookie, segments stay on the CDN - delivery/info cached per token lifetime and throttled (~2/min) - config page: paste sails.sid + validate, extra creators, quality, search test - scripts/package.sh -> plugin folder + zip + md5 + manifest.json; Gitea release workflow - research docs, HAR analysis (HAR itself gitignored), install-pi5.sh Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
name: CCC API contract
|
|
|
|
# Never on push or pull_request: these tests query api.media.ccc.de, so a third-party
|
|
# outage would turn every PR red and every push would add load to someone else's free
|
|
# public service. Nightly instead — an upstream field rename is then found within a day
|
|
# (#18), and one run costs the API well under a dozen requests.
|
|
on:
|
|
schedule:
|
|
- cron: "43 4 * * *"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: contract-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
DOTNET_NOLOGO: "1"
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1"
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: "1"
|
|
|
|
jobs:
|
|
contract:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: "10.0.x"
|
|
|
|
- name: Cache NuGet packages
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.nuget/packages
|
|
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj', 'Directory.Build.props') }}
|
|
restore-keys: nuget-${{ runner.os }}-
|
|
|
|
# Without CCC_CONTRACT the [ContractFact] tests skip, which is what keeps them out of
|
|
# run-tests.sh; the Category filter keeps this job from re-running the offline suite.
|
|
- name: Run the contract tests against the real API
|
|
env:
|
|
CCC_CONTRACT: "1"
|
|
run: |
|
|
dotnet test Jellyfin.Plugin.Chaosflix.Tests/Jellyfin.Plugin.Chaosflix.Tests.csproj \
|
|
-c Release --filter "Category=Contract" --logger "console;verbosity=detailed"
|