Skip to content

Commit

Permalink
ci: test if ubuntu 18.04 has tests working (#1981)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM committed Feb 19, 2021
1 parent 97b6637 commit cb32309
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
!startsWith(github.event.head_commit.message, 'chore') &&
!startsWith(github.event.head_commit.message, 'build: hotfix') &&
!endsWith(github.event.head_commit.message, 'reformatted by jina-dev-bot')
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

update-docker:
needs: update-doc
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:

prep-testbed:
needs: update-doc
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -177,7 +177,7 @@ jobs:

core-test:
needs: prep-testbed
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
commit-lint:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- name: find the prev warning if exist
uses: peter-evans/find-comment@v1
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

lint-flake-8:
needs: commit-lint
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
Expand All @@ -70,7 +70,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude .git,__pycache__,docs/source/conf.py,old,build,dist,tests/,jina/hub/
prep-testbed:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- id: set-matrix
Expand All @@ -82,7 +82,7 @@ jobs:

docker-image-test:
needs: commit-lint
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: |
Expand All @@ -95,7 +95,7 @@ jobs:
core-test:
needs: [prep-testbed, commit-lint, lint-flake-8]
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -149,6 +149,6 @@ jobs:
# just for blocking the merge until all parallel core-test are successful
success-all-test:
needs: [core-test, docker-image-test]
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- run: echo "All Done"

0 comments on commit cb32309

Please sign in to comment.