From 251ba842b5ed0608aa49e835d896ca4504071861 Mon Sep 17 00:00:00 2001 From: Joan Fontanals Martinez Date: Fri, 19 Feb 2021 09:20:55 +0100 Subject: [PATCH] ci: test if ubuntu 18.04 has tests working --- .github/workflows/cd.yml | 8 ++++---- .github/workflows/ci.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 190db7817da3f..67309bb4fa9be 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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: @@ -93,7 +93,7 @@ jobs: update-docker: needs: update-doc - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 strategy: fail-fast: false matrix: @@ -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: @@ -177,7 +177,7 @@ jobs: core-test: needs: prep-testbed - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29bb705974784..4288a4474d3ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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 @@ -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: | @@ -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: @@ -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"