From e804265a7b5fe468fce63197652ad4a7a6bc7376 Mon Sep 17 00:00:00 2001 From: honzastor Date: Wed, 2 Oct 2024 14:56:52 +0200 Subject: [PATCH] Updated git actions. --- .github/workflows/generate.yml | 38 +++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 562dc74..1935308 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -54,7 +54,7 @@ jobs: python-version: '3.x' - run: python -m pip install numpy - name: Download workflow run artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: arithmetic-circuits-8 path: test_circuits @@ -81,6 +81,42 @@ jobs: cd tests bash test_circuits_verilog.sh cd .. + + - name: Python circuits testing + run: | + cd tests + python test_all.py + cd .. + + - name: Python ax testing + run: | + cd tests + python test_ax.py + cd .. + + - name: Python CGP testing + run: | + cd tests + python test_cgp.py + cd .. + + - name: Python Compare testing + run: | + cd tests + python test_compare.py + cd .. + + - name: Python Popcount testing + run: | + cd tests + python test_popcnt.py + cd .. + + - name: Python Reduce testing + run: | + cd tests + python test_reduce.py + cd .. test_python: runs-on: ubuntu-latest