summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorOmer Katz <omer.drow@gmail.com>2021-04-06 13:40:25 +0300
committerGitHub <noreply@github.com>2021-04-06 12:40:25 +0200
commit44464387671651a654230f69f48e9fb58289ce55 (patch)
treef3ed959a42e190d79b00c01c0276b5697c3052cc /.github
parent44dcc33a74bfb497ace1071d9d4b9851fa04f561 (diff)
downloadkombu-44464387671651a654230f69f48e9fb58289ce55.tar.gz
Fix CI failure (#1327)
* Update before installing system dependencies. * Actually run the linters using tox. There are no environments named py-flake8, py-pydocstyle and py-apicheck.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e9fb7bc6..df924ab4 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -9,7 +9,7 @@ jobs:
python-version: [3.8]
steps:
- name: Install system packages
- run: sudo apt-get install libcurl4-openssl-dev libssl-dev
+ run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
- name: Check out code from GitHub
uses: actions/checkout@v2.3.4
- name: Set up Python ${{ matrix.python-version }}
@@ -20,11 +20,11 @@ jobs:
- name: Install dependencies
run: pip install --upgrade pip setuptools wheel tox tox-docker
- name: Run flake8
- run: tox -v -e py-flake8 -- -v
+ run: tox -v -e flake8 -- -v
- name: Run pydocstyle
- run: tox -v -e py-pydocstyle -- -v
+ run: tox -v -e pydocstyle -- -v
- name: Run apicheck
- run: tox -v -e py-apicheck -- -v
+ run: tox -v -e apicheck -- -v
#################### Unittests ####################
unittest:
needs: lint
@@ -34,7 +34,7 @@ jobs:
python-version: [3.6,3.7,3.8]
steps:
- name: Install system packages
- run: sudo apt-get install libcurl4-openssl-dev libssl-dev
+ run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
- name: Check out code from GitHub
uses: actions/checkout@v2.3.4
- name: Set up Python ${{ matrix.python-version }}
@@ -55,7 +55,7 @@ jobs:
python-version: [3.6,3.7,3.8,pypy3]
steps:
- name: Install system packages
- run: sudo apt-get install libcurl4-openssl-dev libssl-dev
+ run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
- name: Check out code from GitHub
uses: actions/checkout@v2.3.4
- name: Set up Python ${{ matrix.python-version }}