From 7261c2799f8befe6f1883232c6e359192cd2ff4b Mon Sep 17 00:00:00 2001 From: Penny How Date: Thu, 2 Nov 2023 10:41:57 -0200 Subject: [PATCH] Action unit test and process test versions updated (#208) * version changes to setup and checkout * versions updated * setuptools package upgrade specified * setuptools upgrade specified --- .github/workflows/process_test.yml | 5 +++-- .github/workflows/unit_test.yml | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/process_test.yml b/.github/workflows/process_test.yml index 1c7e3b0b..5ba3d51a 100644 --- a/.github/workflows/process_test.yml +++ b/.github/workflows/process_test.yml @@ -9,11 +9,11 @@ jobs: name: process_test steps: - name: Install Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "3.8" - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: "main" token: ${{ secrets.GITHUB_TOKEN }} @@ -22,6 +22,7 @@ jobs: run: | python -m pip install --upgrade pip pip install wheel + python3 -m pip install --upgrade setuptools cd $GITHUB_WORKSPACE/main pip install . - name: Clone AWS Level 0 data repo for testing diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index f30771c3..b8f44cba 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -12,18 +12,19 @@ jobs: python-version: ['3.8','3.9','3.10'] steps: - name: Install Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "3.x" - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies shell: bash run: | - python -m pip install --upgrade pip - pip install Bottleneck + python3 -m pip install --upgrade pip + python3 -m pip install Bottleneck + python3 -m pip install --upgrade setuptools cd $GITHUB_WORKSPACE pip install . - name: Run unit tests