-
Notifications
You must be signed in to change notification settings - Fork 17
50 lines (45 loc) · 1.47 KB
/
ci.yaml
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
name: Continuous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
# Add windows-latest once the rlimit problem is fixed
# (T608-018).
runs-on: ${{ matrix.os }}
steps:
- name: Get e3-testsuite
uses: actions/checkout@v2
with:
path: e3-testsuite
# Clone e3-core just near e3-testsuite so that our Mypy
# configuration helps Mypy to find type hints for e3-core.
- name: Get e3-core
uses: actions/checkout@v2
with:
repository: AdaCore/e3-core
path: e3-core
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Setup testing tools
run: |
pip install --upgrade pip
pip install tox
pip install pyyaml
cd e3-testsuite
python3 .github/workflows/install-mypy-deps.py
- name: Type check with Mypy
run: |
cd e3-testsuite
mypy
# Run the testsuite and style checks
- name: Run the testsuite & style checks
run: |
cd e3-testsuite
tox -e py-ci-cov-codecov,checkstyle,security