forked from Lu-Yi-Hsun/iqoptionapi
-
Notifications
You must be signed in to change notification settings - Fork 10
43 lines (35 loc) · 982 Bytes
/
Copy pathtest.yml
File metadata and controls
43 lines (35 loc) · 982 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
41
42
name: Test
on:
pull_request: {}
push:
branches: master
tags: "*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- uses: actions/cache@v2
id: cache-it
with:
path: |
.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/Pipefile') }}
restore-keys: |
${{ runner.os }}-venv
- name: Install pipenv
run: |
pip install pipenv
- name: Install dependencies
if: steps.cache-it.outputs.cache-hit != 'true'
run: pipenv install --deploy --dev
# - run: pipenv run pylint iqoptionapi
# - run: pipenv run isort --recursive --diff .
# - run: pipenv run black --check .
# - run: pipenv run flake8
# - run: pipenv run mypy
# - run: pipenv run pytest --cov --cov-fail-under=100