-
Notifications
You must be signed in to change notification settings - Fork 23
47 lines (39 loc) · 1.01 KB
/
test-runner.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
name: Test runner
on:
push:
branches:
- '*'
paths:
- 'test-runner/**'
pull_request:
branches:
- '*'
paths:
- 'test-runner/**'
jobs:
validate_test_runner:
name: Validation of the test runner (Python)
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Initialize Python environment
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: pip
- name: Install dependencies
working-directory: test-runner
run: pip install -r requirements/dev.txt
- name: Run mypy
working-directory: test-runner
run: mypy wasi_test_runner tests
- name: Run flake8
working-directory: test-runner
run: flake8
- name: Run pylint
working-directory: test-runner
run: pylint wasi_test_runner tests
- name: Run tests
working-directory: test-runner
run: PYTHONPATH=. coverage run