From 8c0c3f769131f61fdf19f4f16e2c85d4b61f2e64 Mon Sep 17 00:00:00 2001 From: Johan_Trieloff Date: Mon, 1 Jan 2024 16:40:06 +0100 Subject: [PATCH] Add testRepo repository and create inputData directory --- .github/workflows/get_function_data_test.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/get_function_data_test.yml b/.github/workflows/get_function_data_test.yml index 10883ee..5f1b0f3 100644 --- a/.github/workflows/get_function_data_test.yml +++ b/.github/workflows/get_function_data_test.yml @@ -10,6 +10,13 @@ jobs: steps: - uses: actions/checkout@v2 + with: + path: 'functionRetriever' # Specify a path for the main repo + + - name: Clone testRepo repository + run: | + mkdir -p ${{ github.workspace }}/inputData # Create inputData directory + git clone https://github.com/RapidReview-ai/testRepo ${{ github.workspace }}/inputData/testRepo - name: Set up Python 3.x uses: actions/setup-python@v2 @@ -19,15 +26,18 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '18.12.1' + node-version: '18.12.1' - name: Install npm dependencies run: npm install + working-directory: ${{ github.workspace }}/functionRetriever - name: Install Python dependencies run: | pip install --upgrade pip pip install -r requirements.txt + working-directory: ${{ github.workspace }}/functionRetriever - name: Run tests run: python test_get_function_data.py + working-directory: ${{ github.workspace }}/functionRetriever