-
Notifications
You must be signed in to change notification settings - Fork 7
53 lines (51 loc) · 1.46 KB
/
unstable.yml
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
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
name: Unstable
jobs:
test:
name: Test with unstable toolchains
runs-on: ubuntu-20.04
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
toolchain:
- nightly
- beta
steps:
- uses: actions/checkout@v3
- run: cp ci/Cargo.lock .
- run: rustup override set "$TOOLCHAIN"
env:
TOOLCHAIN: ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v2
- run: cargo build --tests --locked
- id: setup_env
run: ./ci/testenv/setup.sh
env:
MISSKEY_IMAGE: 'misskey/misskey:12.75.1'
MISSKEY_ID: aid
- run: cargo test --features 12-75-0
timeout-minutes: 15
env:
TEST_API_URL: http://localhost:3000/api/
TEST_WEBSOCKET_URL: ws://localhost:3000/streaming
TEST_ADMIN_TOKEN: ${{ steps.setup_env.outputs.admin_token }}
TEST_USER_TOKEN: ${{ steps.setup_env.outputs.user_token }}
minimal_version:
name: Minimal versions build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: rustup override set nightly
- uses: taiki-e/install-action@v1
with:
tool: [email protected]
- uses: taiki-e/install-action@v1
with:
tool: [email protected]
- uses: Swatinem/rust-cache@v2
- run: cargo minimal-versions check --workspace --ignore-private