-
-
Notifications
You must be signed in to change notification settings - Fork 20
92 lines (78 loc) · 3.02 KB
/
Copy pathintegration_tests.yaml
File metadata and controls
92 lines (78 loc) · 3.02 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: Integration Tests
on:
workflow_dispatch: {}
concurrency:
group: integration-tests
cancel-in-progress: false
permissions: {}
env:
MISE_TASK_RUN_AUTO_INSTALL: false
jobs:
github-integration:
name: GitHub Integration Tests
strategy:
max-parallel: 1
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
environment: integration-tests
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16
- uses: jdx/mise-action@dad1bfd3df957f44999b559dd69dc1671cb4e9ea # v4.2.1
with:
install: false
- name: Run GitHub integration tests
env:
KNOPE_INTEGRATION_GITHUB_TOKEN: ${{ secrets.INTEGRATION_GITHUB_TOKEN }}
KNOPE_INTEGRATION_GITHUB_OWNER: ${{ secrets.INTEGRATION_GITHUB_OWNER }}
KNOPE_INTEGRATION_GITHUB_REPO: ${{ secrets.INTEGRATION_GITHUB_REPO }}
run: mise run integration-test-github
gitea-integration:
name: Gitea Integration Tests
strategy:
max-parallel: 1
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
environment: integration-tests
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16
- uses: jdx/mise-action@dad1bfd3df957f44999b559dd69dc1671cb4e9ea # v4.2.1
with:
install: false
- name: Run Gitea integration tests
env:
KNOPE_INTEGRATION_GITEA_TOKEN: ${{ secrets.INTEGRATION_GITEA_TOKEN }}
KNOPE_INTEGRATION_GITEA_HOST: https://gitea.com
KNOPE_INTEGRATION_GITEA_OWNER: ${{ secrets.INTEGRATION_GITEA_OWNER }}
KNOPE_INTEGRATION_GITEA_REPO: ${{ secrets.INTEGRATION_GITEA_REPO }}
run: mise run integration-test-gitea
codeberg-integration:
name: Codeberg Integration Tests
strategy:
max-parallel: 1
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
environment: integration-tests
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16
- uses: jdx/mise-action@dad1bfd3df957f44999b559dd69dc1671cb4e9ea # v4.2.1
with:
install: false
- name: Run Gitea integration tests
env:
KNOPE_INTEGRATION_GITEA_TOKEN: ${{ secrets.INTEGRATION_CODEBERG_TOKEN }}
KNOPE_INTEGRATION_GITEA_HOST: https://codeberg.org
KNOPE_INTEGRATION_GITEA_OWNER: ${{ secrets.INTEGRATION_CODEBERG_OWNER }}
KNOPE_INTEGRATION_GITEA_REPO: ${{ secrets.INTEGRATION_CODEBERG_REPO }}
run: mise run integration-test-gitea