-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (49 loc) · 1.16 KB
/
frontend_charm_analysis.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
name: Run charm tests
on:
pull_request:
branches:
- main
paths:
- 'frontend/charm/**'
push:
branches: ["main"]
tags: ["v*.*.*"]
paths:
- 'frontend/charm/**'
jobs:
lint-report:
name: Lint and format report
runs-on: [self-hosted, linux, large, jammy, x64]
steps:
- uses: actions/checkout@v3
- name: Install tox
run: pip install tox
- name: Run tests using tox
run: tox -e lint
defaults:
run:
working-directory: ./frontend/charm
static-analysis:
name: Static analysis
runs-on: [self-hosted, linux, jammy, x64]
steps:
- uses: actions/checkout@v3
- name: Install tox
run: pip install tox
- name: Run tests using tox
run: tox -e static
defaults:
run:
working-directory: ./frontend/charm
unit-tests-with-coverage:
name: Unit tests
runs-on: [self-hosted, linux, jammy, x64]
steps:
- uses: actions/checkout@v3
- name: Install tox
run: pip install tox
- name: Run tests using tox
run: tox -e unit
defaults:
run:
working-directory: ./frontend/charm