SAIFIINDUSTRIES's picture
Add batch 5 (Luthiraa_TALOS-V2, dawsonjon_fpu, The-OpenROAD-Project_OpenROAD-flow-scripts, antonblanchard_microwatt, alexforencich_verilog-i2c)
784ee2c verified
Raw History Blame Contribute Delete
947 Bytes
name: Test Util Scripts
on:
schedule:
- cron: "0 8 * * SUN"
push:
paths:
- 'flow/util/*.py'
- 'flow/test/test_*.py'
pull_request:
paths:
- 'flow/util/*.py'
- 'flow/test/test_*.py'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
testUtilScripts:
strategy:
fail-fast: false
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
steps:
- name: Check out repository code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
submodules: recursive
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y python3-pip
- name: Run Tests
run: |
cd flow/test
for file in *.py; do
python "$file"
done