Skip to content

Commit 0e3ec5f

Browse files
committed
OPS: Stop using tox for CI tests
1 parent 8679c55 commit 0e3ec5f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/python-ci.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ jobs:
4444
- name: Check pyproject.toml file
4545
run: poetry check
4646

47-
- name: Install tox
48-
run: pip install tox
49-
5047
- name: Authenticate with Google Cloud
5148
id: auth
5249
uses: google-github-actions/[email protected]
@@ -56,10 +53,14 @@ jobs:
5653
workload_identity_provider: "projects/437801218871/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider"
5754
service_account: "[email protected]"
5855

56+
- name: Install package
57+
run: poetry install -v
58+
5959
- 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
6364
6465
- name: Upload coverage to Codecov
6566
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)