-
Notifications
You must be signed in to change notification settings - Fork 9
67 lines (56 loc) · 1.33 KB
/
pyopendds.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
name: pyopendds
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
schedule:
- cron: "0 3 * * 5"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
env:
ACE_ROOT: '/usr/share/ace'
TAO_ROOT: '/usr/share/tao'
DDS_ROOT: '/usr/share/dds'
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Get OpenDDS
uses: actions/checkout@v3
with:
repository: 'iguessthislldo/OpenDDS-Debian'
path: OpenDDS-Debian
ref: ubuntu_20_04
- name: Install Dependencies
run: |
sudo dpkg -i OpenDDS-Debian/opendds.deb
- name: Install PyOpenDDS
run: |
python -m pip --verbose install .
- name: Run Tests
run: python tests/run_tests.py
- name: Check Types with mypy
run: |
python -m pip install mypy
mypy -p pyopendds
- name: Lint with flake8
run: |
python -m pip install flake8
flake8 --show-source --doctests --statistics
if: always()