ci: add GitHub Actions workflow 'pyFPGA'

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-02-27 15:27:49 +01:00
parent eeac9239d7
commit 849d3efd48
1 changed files with 26 additions and 0 deletions

26
.github/workflows/pyF4PGA.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: py4FPGA
on:
push:
pull_request:
jobs:
Run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
# with:
# submodules: recursive
- name: Test py4FPGA
run: |
pip3 install -r f4pga/requirements.txt
PYTHONPATH=$(pwd)/f4pga python3 f4pga/sfbuild.py
PYTHONPATH=$(pwd)/f4pga python3 f4pga/sfbuild.py -h