File tree 3 files changed +39
-15
lines changed
3 files changed +39
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : main
7
+
8
+ jobs :
9
+ test :
10
+ name : test w/ Python ${{ matrix.python-version }}
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ strategy :
15
+ matrix :
16
+ python-version : ["3.7"]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : actions/cache@v1
21
+ with :
22
+ path : ~/.cache/pip
23
+ key : ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
24
+ restore-keys : |
25
+ ${{ runner.os }}-pip-
26
+ - uses : actions/setup-python@v2
27
+ with :
28
+ python-version : ${{ matrix.python-version }}
29
+ - run : python3 -m pip install -U -r dev-requirements.txt
30
+ - run : python3 -m coverage run --branch -m pytest tests/
31
+ - uses : codecov/codecov-action@v1
32
+ if : always()
33
+ with :
34
+ token : ${{ secrets.CODECOV_TOKEN }}
35
+ file : ./coverage.xml
36
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
miss-islington
2
2
==============
3
3
4
- .. image :: https://travis-ci.org /python/miss-islington. svg?branch=master
5
- :target: https://travis-ci.org /python/miss-islington
6
- .. image :: https://codecov.io/gh/python/miss-islington/branch/master /graph/badge.svg
4
+ .. image :: https://github.com /python/miss-islington/actions/workflows/ci.yml/badge. svg?event=push
5
+ :target: https://github.com /python/miss-islington/actions
6
+ .. image :: https://codecov.io/gh/python/miss-islington/branch/main /graph/badge.svg
7
7
:target: https://codecov.io/gh/python/miss-islington
8
8
.. image :: https://img.shields.io/badge/code%20style-black-000000.svg
9
9
:target: https://github.com/ambv/black
You can’t perform that action at this time.
0 commit comments