-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (36 loc) · 1.11 KB
/
run-tests.yml
File metadata and controls
46 lines (36 loc) · 1.11 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
name: Run Tests
on:
pull_request:
paths:
- '**/*.py'
- '**/*.yaml'
- '.github/**'
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up repo environment
uses: ./.github/actions/setup-repo-env
- name: Run email script tests
run: python3 email_about_issues_test.py
working-directory: ./email-rotation
- name: Run rotation extension tests
run: python3 extend_rotation_test.py
working-directory: ./email-rotation
- name: Run yaml verification test
run: python3 verify_yaml_files_test.py
working-directory: ./email-rotation
- name: Run pyright
run: pyright *.py
working-directory: ./email-rotation
- name: Run mypy
run: mypy . --explicit-package-bases --strict
working-directory: ./email-rotation
- name: Run isort
run: isort . --check-only
working-directory: ./email-rotation
- name: Run black
run: black . --check
working-directory: ./email-rotation