summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yaml8
-rw-r--r--.github/workflows/test-binary-build.yaml4
-rw-r--r--.github/workflows/test.yaml6
3 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 27b05c7..b41b835 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -8,7 +8,7 @@ on:
jobs:
release-pypi:
name: release-pypi
- runs-on: ubuntu-16.04
+ runs-on: ubuntu-latest
# FIXME
# help test shouldn't depends on this to run
@@ -30,7 +30,7 @@ jobs:
with:
path: venv
# Look to see if there is a cache hit for the corresponding requirements file
- key: ubuntu-16.04-poetryenv-${{ hashFiles('poetry.lock') }}
+ key: ubuntu-latest-poetryenv-${{ hashFiles('poetry.lock') }}
- name: Install Dependencies
run: |
python3 -m venv venv
@@ -62,7 +62,7 @@ jobs:
release-binary:
name: Release Executable Binary.
- runs-on: ubuntu-16.04
+ runs-on: ubuntu-latest
# FIXME
# help test shouldn't depends on this to run
@@ -84,7 +84,7 @@ jobs:
with:
path: venv
# Look to see if there is a cache hit for the corresponding requirements file
- key: ubuntu-16.04-poetryenv-${{ hashFiles('poetry.lock') }}
+ key: ubuntu-latest-poetryenv-${{ hashFiles('poetry.lock') }}
- name: Install Dependencies
run: |
python3 -m venv venv
diff --git a/.github/workflows/test-binary-build.yaml b/.github/workflows/test-binary-build.yaml
index a71d576..8d0a5fe 100644
--- a/.github/workflows/test-binary-build.yaml
+++ b/.github/workflows/test-binary-build.yaml
@@ -9,7 +9,7 @@ on:
jobs:
test-release-binary:
name: Test Build Executable Binary. You can download from Artifact after building.
- runs-on: ubuntu-16.04
+ runs-on: ubuntu-latest
# FIXME
# help test shouldn't depends on this to run
@@ -31,7 +31,7 @@ jobs:
with:
path: venv
# Look to see if there is a cache hit for the corresponding requirements file
- key: ubuntu-16.04-poetryenv-${{ hashFiles('poetry.lock') }}
+ key: ubuntu-latest-poetryenv-${{ hashFiles('poetry.lock') }}
- name: Install Dependencies
run: |
python3 -m venv venv
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index ede6dd3..7c992c7 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -11,8 +11,8 @@ jobs:
name: Pytest
strategy:
matrix:
- os: [ubuntu-16.04]
- python: ['3.6', '3.7', '3.8', '3.9']
+ os: [ubuntu-latest]
+ python: ['3.6', '3.7', '3.8', '3.9', '3.10']
redis: [5, 6]
runs-on: ${{ matrix.os }}
@@ -52,7 +52,7 @@ jobs:
pytest || cat cli_test.log
lint:
name: flake8 & black
- runs-on: ubuntu-16.04
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2