forked from synthetic-sciences/openscience
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 1.08 KB
/
Copy pathcatalog.yml
File metadata and controls
31 lines (28 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Catalog
# Nightly live check that models.dev still lists the models the test suite pins.
# PR CI runs against a committed fixture (test/fixture/models-catalog.json.gz) and
# is fully deterministic; this job is the only thing that talks to live models.dev,
# so an upstream delisting reddens this job — not every PR. When it fails, update
# the SONNET/OPUS pins in provider.test.ts and regenerate the fixture.
on:
workflow_dispatch:
schedule:
- cron: "23 4 * * *"
permissions:
contents: read
jobs:
live-catalog:
name: Live catalog check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: ./.github/actions/setup-bun
- name: Configure git for tests
run: |
git config --global user.email "ci@openscience.dev"
git config --global user.name "OpenScience CI"
git config --global init.defaultBranch main
- run: bun run --cwd backend/cli test test/provider/live-catalog.test.ts
env:
OPENSCIENCE_LIVE_CATALOG: "1"