From 1eababe1abb4bdeb33c47c959c3082f64ee2ebda Mon Sep 17 00:00:00 2001 From: Arnav Sacheti <36746504+arnavsacheti@users.noreply.github.com> Date: Sun, 26 Oct 2025 18:00:53 -0700 Subject: [PATCH] remove cocotb -sim.yml --- .github/workflows/cocotb-sim.yml | 59 -------------------------------- .github/workflows/test.yml | 5 ++- 2 files changed, 4 insertions(+), 60 deletions(-) delete mode 100644 .github/workflows/cocotb-sim.yml diff --git a/.github/workflows/cocotb-sim.yml b/.github/workflows/cocotb-sim.yml deleted file mode 100644 index 6425ca5..0000000 --- a/.github/workflows/cocotb-sim.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Cocotb Simulation Tests - -on: - push: - branches: [ main ] - workflow_dispatch: - schedule: - # Run weekly on Monday at 00:00 UTC - - cron: '0 0 * * 1' - -jobs: - cocotb-sim: - runs-on: ubuntu-latest - permissions: - contents: read - strategy: - matrix: - python-version: ['3.10', '3.12'] - simulator: ['icarus'] - - steps: - - uses: actions/checkout@v4 - - - name: Set up uv - uses: astral-sh/setup-uv@v3 - with: - python-version: ${{ matrix.python-version }} - - - name: Install HDL Simulator - run: | - sudo apt-get update - sudo apt-get install -y iverilog - iverilog -V - - - name: Install dependencies - run: | - uv sync --group test - - - name: Run cocotb integration tests - run: | - uv run pytest tests/cocotb/testbenches/test_integration.py -v - - - name: Run cocotb simulation tests (APB4) - run: | - uv run pytest tests/cocotb/testbenches/test_apb4_runner.py -v -s - continue-on-error: true - env: - SIM: ${{ matrix.simulator }} - - - name: Upload test logs - if: always() - uses: actions/upload-artifact@v4 - with: - name: cocotb-logs-py${{ matrix.python-version }}-${{ matrix.simulator }} - path: | - **/*.vcd - **/sim_build/**/*.log - retention-days: 7 - if-no-files-found: ignore diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e2413a..5231d35 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,9 @@ on: branches: [ main ] workflow_dispatch: workflow_call: + schedule: + # Run weekly on Monday at 00:00 UTC + - cron: '0 0 * * 1' jobs: test: @@ -33,7 +36,7 @@ jobs: - name: Install dependencies run: | - uv sync --group test + uv sync --all-extras --group test - name: Run tests run: uv run pytest tests/ -v --cov=peakrdl_busdecoder --cov-report=xml --cov-report=term