Repository navigation
56 lines (56 loc) · 1.9 KB
/
Copy pathupstream-migration.yml
File metadata and controls
56 lines (56 loc) · 1.9 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Upstream migration checks
on:
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
provenance:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: '3.13'
- name: Verify imported file hashes, licenses, and exclusions
run: python3 scripts/verify-upstream-migration.py
- name: Provenance unit tests
run: python3 -m unittest tests.test_upstream_migration -v
bot-social-source-tests:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: '22'
cache: npm
cache-dependency-path: services/bot-social/package-lock.json
- name: Install Bot Social lockfile dependencies
working-directory: services/bot-social
run: npm ci --no-fund --no-audit
- name: Run Bot Social source tests (no real tokens)
working-directory: services/bot-social
run: npm test
env:
CI: true
flybot-social-plugin-tests:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: '22'
- name: Run @flybot/social plugin-only tests (no DSH, no core, no npm ci)
working-directory: runtime/flybot/plugins/social
run: npm test
env:
CI: true