From c16c997e47995f5580ef35abc1bf201c2ad688bf Mon Sep 17 00:00:00 2001 From: Daniel Sagi Date: Thu, 30 Sep 2021 16:32:04 +0300 Subject: [PATCH] removed cache and changed to only use ubuntu-latest --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 20 ++------------------ 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5af27c..72f901c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ name: Release jobs: build: name: Upload Release Asset - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ccef4b..e2182d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: python-version: ["3.6", "3.7", "3.8", "3.9"] - os: [ubuntu-20.04, ubuntu-18.04] + os: [ubuntu-latest] steps: - uses: actions/checkout@v2 @@ -23,26 +23,10 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Get pip cache dir - id: pip-cache - run: | - echo "::set-output name=dir::$(pip cache dir)" - - - name: Cache - uses: actions/cache@v2 - with: - path: ${{ steps.pip-cache.outputs.dir }} - key: - ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements-dev.txt') }} - restore-keys: | - ${{ matrix.os }}-${{ matrix.python-version }}- - - name: Install dependencies run: | python -m pip install -U pip - python -m pip install -U wheel - python -m pip install -r requirements.txt - python -m pip install -r requirements-dev.txt + python -m pip install -e . - name: Test shell: bash