Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Sagi
c16c997e47 removed cache and changed to only use ubuntu-latest 2021-09-30 16:32:04 +03:00
Daniel Sagi
a22debaa4e removed unsupported ubuntu16 machines 2021-09-30 16:07:22 +03:00
2 changed files with 3 additions and 19 deletions

View File

@@ -10,7 +10,7 @@ name: Release
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

View File

@@ -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, ubuntu-16.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