From 81961bba89b7909dc5e5a0ab6e05eb3c5c713e4e Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Thu, 27 Jun 2024 18:43:42 +0300 Subject: [PATCH] setup-action: install client pip deps in our Python. --- setup-action/action.yml | 5 ++++- template/.github/workflows/cxxrtl-build.yml | 3 --- template/.github/workflows/synthesis.yml | 3 --- template/.github/workflows/unit-tests.yml | 3 --- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/setup-action/action.yml b/setup-action/action.yml index 49bb563..c66d64f 100644 --- a/setup-action/action.yml +++ b/setup-action/action.yml @@ -25,6 +25,9 @@ runs: python-version: '3.12' cache: pip + - name: Install client repo pip dependencies + run: pip install --editable . + - name: Install pytest run: pip install pytest shell: bash @@ -61,4 +64,4 @@ runs: - name: Report Zig version if: ${{ inputs.install-zig }} run: zig version - shell: bash \ No newline at end of file + shell: bash diff --git a/template/.github/workflows/cxxrtl-build.yml b/template/.github/workflows/cxxrtl-build.yml index 210ab18..28dee71 100644 --- a/template/.github/workflows/cxxrtl-build.yml +++ b/template/.github/workflows/cxxrtl-build.yml @@ -16,9 +16,6 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - - name: Install pip dependencies - run: pip install --editable . - - uses: kivikakk/niar/setup-action@main - name: Elaborate, compile and run cxxrtl diff --git a/template/.github/workflows/synthesis.yml b/template/.github/workflows/synthesis.yml index bcb62aa..9ee5e0b 100644 --- a/template/.github/workflows/synthesis.yml +++ b/template/.github/workflows/synthesis.yml @@ -24,9 +24,6 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - - name: Install pip dependencies - run: pip install --editable . - - uses: kivikakk/niar/setup-action@main with: install-oss-cad-suite: true diff --git a/template/.github/workflows/unit-tests.yml b/template/.github/workflows/unit-tests.yml index 31c7215..f8c4300 100644 --- a/template/.github/workflows/unit-tests.yml +++ b/template/.github/workflows/unit-tests.yml @@ -16,9 +16,6 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - - name: Install pip dependencies - run: pip install --editable . - - uses: kivikakk/niar/setup-action@main - name: Run tests