Skip to content

Commit 541643f

Browse files
Try GitHub actions
Try GitHub actions
1 parent 69d567a commit 541643f

File tree

2 files changed

+45
-10
lines changed

2 files changed

+45
-10
lines changed

.github/workflows/main.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
# Controls when the action will run.
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the master branch
6+
push:
7+
branches:
8+
- "*"
9+
pull_request:
10+
branches:
11+
- master
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "build"
19+
build:
20+
# The type of runner that the job will run on
21+
runs-on: ubuntu-latest
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v2
27+
28+
- name: build
29+
run: make
30+
31+
- name: flake8
32+
run: make check-flake8
33+
34+
- name: black
35+
run: make check-black
36+
37+
- name: isort
38+
run: make check-isort
39+
40+
- name: tests
41+
run: make test
42+
43+

README.rst

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,10 @@ Django Static Precompiler
55
Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars.
66
It works with both inline code and external files.
77

8-
.. image:: https://circleci.com/gh/andreyfedoseev/django-static-precompiler.svg?style=shield
9-
:target: https://circleci.com/gh/andreyfedoseev/django-static-precompiler
8+
.. image:: https://github.com/andreyfedoseev/django-static-precompiler/workflows/CI/badge.svg
9+
:target: https://github.com/andreyfedoseev/django-static-precompiler/actions?query=workflow%3ACI
1010
:alt: Build Status
1111

12-
.. image:: https://codecov.io/github/andreyfedoseev/django-static-precompiler/coverage.svg?branch=master
13-
:target: https://codecov.io/github/andreyfedoseev/django-static-precompiler?branch=master
14-
:alt: Code Coverage
15-
16-
.. image:: https://codeclimate.com/github/andreyfedoseev/django-static-precompiler/badges/gpa.svg
17-
:target: https://codeclimate.com/github/andreyfedoseev/django-static-precompiler
18-
:alt: Code Climate
19-
2012
.. image:: https://readthedocs.org/projects/django-static-precompiler/badge/
2113
:target: https://django-static-precompiler.readthedocs.io/
2214
:alt: Documentation

0 commit comments

Comments
 (0)