Bump the python-packages group with 1 update #488
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2023 Zero ASIC Corporation | |
# This code is licensed under Apache License 2.0 (see LICENSE for details) | |
# can run locally with: "act --rm pull_request" | |
# see https://github.com/nektos/act | |
name: Regression | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
verilator: | |
name: Verilator | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/zeroasiccorp/sbtest:latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Switchboard Python package | |
run: | | |
pip3 install .[test] | |
- name: Get dependencies for running tests | |
working-directory: examples | |
run: python3 get_deps.py | |
- name: Run pytest | |
working-directory: examples | |
run: pytest --durations=0 -s | |
- name: Run tests | |
working-directory: tests | |
run: | | |
make > out.log | |
cat out.log | |
grep -Fxq "PASS" out.log | |
fpga_sim: | |
name: FPGA queue simulation | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/zeroasiccorp/sbtest:latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Switchboard Python package | |
run: | | |
pip3 install . | |
- name: Get dependencies for running tests | |
working-directory: examples | |
run: python3 get_deps.py | |
- name: Run FPGA loopback simulation | |
working-directory: examples/fpga_loopback | |
run: | | |
make test > out.log | |
cat out.log | |
grep -Fxq "PASS" out.log |