File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 44
44
- name : Check pyproject.toml file
45
45
run : poetry check
46
46
47
- - name : Install tox
48
- run : pip install tox
49
-
50
47
- name : Authenticate with Google Cloud
51
48
id : auth
52
49
uses :
google-github-actions/[email protected]
@@ -56,10 +53,14 @@ jobs:
56
53
workload_identity_provider : " projects/437801218871/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider"
57
54
service_account :
" [email protected] "
58
55
56
+ - name : Install package
57
+ run : poetry install --all-extras -v
58
+
59
59
- name : Run tests
60
- env :
61
- GOOGLE_CLOUD_PROJECT : ${{ secrets.TEST_PROJECT_ID }}
62
- run : tox -vv -e py
60
+ run : |
61
+ poetry run coverage run --source octue -m unittest discover
62
+ poetry run coverage report --show-missing
63
+ poetry run coverage xml
63
64
64
65
- name : Upload coverage to Codecov
65
66
uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change 48
48
- name : Check pyproject.toml file
49
49
run : poetry check
50
50
51
- - name : Install tox
52
- run : pip install tox
53
-
54
51
- name : Authenticate with Google Cloud
55
52
id : auth
56
53
uses :
google-github-actions/[email protected]
@@ -60,10 +57,14 @@ jobs:
60
57
workload_identity_provider : " projects/437801218871/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider"
61
58
service_account :
" [email protected] "
62
59
60
+ - name : Install package
61
+ run : poetry install --all-extras -v
62
+
63
63
- name : Run tests
64
- env :
65
- GOOGLE_CLOUD_PROJECT : ${{ secrets.TEST_PROJECT_ID }}
66
- run : tox -vv -e py
64
+ run : |
65
+ poetry run coverage run --source octue -m unittest discover
66
+ poetry run coverage report --show-missing
67
+ poetry run coverage xml
67
68
68
69
- name : Upload coverage to Codecov
69
70
uses : codecov/codecov-action@v4
You can’t perform that action at this time.
0 commit comments