-
Notifications
You must be signed in to change notification settings - Fork 11
43 lines (34 loc) · 967 Bytes
/
tox.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# run tox in master and pr's
name: "CI tox"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
tox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: '3.9'
- name: Install GNU gettext
run: sudo apt install gettext
- name: Install pipenv
run: pip install pipenv
- name: run tox
run: |
pipenv sync --dev
pipenv run tox
# https://github.com/marketplace/actions/coveralls-python
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
# maybe someday
# see: https://github.com/coverallsapp/github-action/issues/30
#- name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# path-to-lcov: './coverage'
# github-token: ${{ secrets.GITHUB_TOKEN }}