Files
OpenUxAS/.github/workflows/uxas-module.yaml
2021-07-06 09:51:18 -04:00

41 lines
1.1 KiB
YAML

on:
push:
paths:
- 'infrastructure/uxas/**'
pull_request:
paths:
- 'infrastructure/uxas/**'
workflow_dispatch:
schedule:
- cron: '10 3 * * 4'
name: Check uxas Build-Automation Module
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
python-version: [3.7, 3.8]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
path: OpenUxAS
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up testing tools
run: |
pip install --upgrade pip
pip install tox
python3 -m pip install types-PyYAML
- name: Run testsuite and style checks
run: |
cd OpenUxAS/infrastructure/uxas
tox