Skip to content

Added GHA workflow to replace AppVeyor (#259) #6

Added GHA workflow to replace AppVeyor (#259)

Added GHA workflow to replace AppVeyor (#259) #6

Workflow file for this run

name: 'PyCyphal application builder'
# Builds OpenCyphal PyCyphal release
on:
push:
branches:
- main
- issue-259
# Ensures that only one workflow is running at a time
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
#
# PyCyphal test
#
pycyphal-test:
name: Test PyCyphal
if: startsWith(github.ref, 'refs/heads/')
strategy:
matrix:
os: [ubuntu-20.04]
python: ['3.7', '3.8', '3.9', '3.10']
runs-on: ${{ matrix.os }}
steps:
- name: Checking out
uses: actions/checkout@v3
- name: Installing Python3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Installing dependencies
run: |
sudo apt-get install -y linux-*-extra-$(uname -r) graphviz ncat
git submodule update --init --recursive
python -m pip install --upgrade pip setuptools nox