-
Notifications
You must be signed in to change notification settings - Fork 7
36 lines (35 loc) · 1015 Bytes
/
main.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
name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Python Vulture Action
uses: anaynayak/[email protected]
with:
vulture-args: buildnotifylib/ test/whitelist.py --exclude generated
- name: Install dependencies
run: |
sudo apt-get install -y -qq xvfb curl git libxkbcommon-x11-0 herbstluftwm
pip3 install tox
pip3 install paver
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageCommand: tox -e coverage -- -m "not functional"
- name: Test install
run: |
paver dist_pypi
pip3 install dist/*.tar.gz