File tree 2 files changed +39
-81
lines changed
2 files changed +39
-81
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Run Checks
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ test :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ python : [ 3.6, 3.7, 3.8, 3.9 ]
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - name : Set up Python
14
+ uses : actions/setup-python@v1
15
+ with :
16
+ python-version : ${{ matrix.python }}
17
+ - name : Cache dependencies
18
+ uses : actions/cache@v2
19
+ with :
20
+ path : .venv
21
+ key : ${{ runner.os }}-${{ matrix.python }}-dependencies-${{ hashFiles('**/poetry.lock') }}
22
+ restore-keys : |
23
+ ${{ runner.os }}-${{ matrix.python }}-dependencies-
24
+ - name : Install dependencies
25
+ uses : triaxtec/github-actions/python/install-and-configure-poetry@main
26
+ - name : Run Checks
27
+ uses : triaxtec/github-actions/python/run-checks@main
28
+ with :
29
+ module : openapi_python_client
30
+
31
+ - name : End to End Tests
32
+ run : poetry run pytest --cov=openapi_python_client end_to_end_tests
33
+
34
+ - name : Generate E2E Coverage
35
+ run : poetry run coverage xml -o e2e-coverage.xml
36
+
37
+ - uses : codecov/codecov-action@v1
38
+ with :
39
+ files : ./coverage.xml,./e2e-coverage.xml
You can’t perform that action at this time.
0 commit comments