-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (53 loc) · 1.82 KB
/
ci.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright 2024 Dotanuki Labs
# SPDX-License-Identifier: MIT
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
quality-checks:
runs-on: ubuntu-22.04
steps:
- name: Project Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Check typos on source files
uses: dotanuki-labs/github-actions/quality/typos@main
- name: Lint Markdown files
uses: dotanuki-labs/github-actions/quality/markdown@main
- name: Check MIT license on source files
uses: dotanuki-labs/github-actions/foss/check-licenses@main
with:
file-patterns: "*.sh,*.yml"
license: "mit"
e2e:
needs: quality-checks
runs-on: ubuntu-22.04
steps:
- name: Project Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Test scanning standalone Android apk
run: ./e2e/pocketcasts-android.sh
env:
APPSWEEP_API_KEY: ${{ secrets.APPSWEEP_DOTANUKI_POCKETCASTS_ANDROID_KEY }}
- name: Test scanning standalone iOS xcarchive
run: ./e2e/pocketcasts-ios.sh
env:
APPSWEEP_API_KEY: ${{ secrets.APPSWEEP_DOTANUKI_POCKETCASTS_IOS_KEY }}
- name: Test scanning iOS ipa plus dSyms
run: ./e2e/bitwarden-ios.sh
env:
APPSWEEP_API_KEY: ${{ secrets.APPSWEEP_DOTANUKI_BITWARDEN_IOS_KEY }}
- name: Test scanning Android apk plus mappings
run: ./e2e/cromite-android.sh
env:
APPSWEEP_API_KEY: ${{ secrets.APPSWEEP_DOTANUKI_CROMITE_ANDROID_KEY }}
component-tests:
needs: e2e
runs-on: ubuntu-22.04
steps:
- name: Project Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Run tests
run: echo "To do"