Skip to content

Commit

Permalink
[refactor] Minor improvements in CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
devkapilbansal committed Mar 21, 2021
1 parent 67477d5 commit 9b3795e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- master

jobs:

build:
name: Python==${{ matrix.python-version }} | ${{ matrix.django-version }}
runs-on: ubuntu-latest
Expand All @@ -26,7 +25,6 @@ jobs:
- django~=3.1

steps:

- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -37,16 +35,17 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install python dependencies
run: |
pip install -U pip setuptools wheel
pip install -U -r requirements-test.txt
run: pip install -U "pip==20.2.4" setuptools wheel

- name: Install npm dependencies
run: sudo npm install -g jslint

- name: Install django-x509
run: pip install -e .

- name: Install test dependencies
run: |
pip install -e .
pip install -U -r requirements-test.txt
pip install ${{ matrix.django-version }}
- name: QA Checks
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ django-x509
===========

.. image:: https://github.com/openwisp/django-x509/workflows/Django-x509%20Build/badge.svg?branch=master
:target: https://github.com/openwispdjango-x509/actions?query=workflow%3A"Django-x509+Build"
:target: https://github.com/openwispdjango-x509/actions?query=workflow%3A"Django-x509+Build%22"
:alt: CI build status

.. image:: https://coveralls.io/repos/openwisp/django-x509/badge.svg
Expand Down

0 comments on commit 9b3795e

Please sign in to comment.