forked from pythonprobr/libpythonpro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpythonlibproCI.yml
More file actions
40 lines (30 loc) · 778 Bytes
/
pythonlibproCI.yml
File metadata and controls
40 lines (30 loc) · 778 Bytes
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
name: libpythonproLEE-CI
on: [push]
jobs:
build:
env:
GITHUB_TOKEN: bd4152ce-86b3-4deb-8383-02adee5c6a60
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10.2
- uses: actions/setup-python@v2
- with:
python-version: 3.10.2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv codecov
pipenv sync --dev
- name: Lint with flake8
run: |
flake8 .
- name: Test with pytest
run: pytest libpythonpro --cov=libpythonpro
- name: Posting Coverage
run: pipenv run codecov
- name: Coverage Report
env:
CODECOV_TOKEN: bd4152ce-86b3-4deb-8383-02adee5c6a60
run: |
codecov