diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index a66a3fb..633e18e 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -57,12 +57,13 @@ jobs: run: | pip install -e .[tests] - uses: 'actions/checkout@v4' - - id: 'auth' - name: 'Authenticate to Google Cloud' - uses: 'google-github-actions/auth@v1' - with: - service_account: ${{ secrets.SERVICE_ACCOUNT }} - workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }} +# # TODO(alxmrs): Add back gcloud auth, when it's needed. +# - id: 'auth' +# name: 'Authenticate to Google Cloud' +# uses: 'google-github-actions/auth@v1' +# with: +# service_account: ${{ secrets.SERVICE_ACCOUNT }} +# workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }} - name: Run unit tests run: | pytest dee \ No newline at end of file diff --git a/conftest.py b/conftest.py index 5dfc251..ade59ce 100644 --- a/conftest.py +++ b/conftest.py @@ -18,4 +18,4 @@ try: app.run(lambda argv: None) except SystemExit: - pass \ No newline at end of file + pass diff --git a/dee/__init__.py b/dee/__init__.py index 7bb76be..f2166d7 100644 --- a/dee/__init__.py +++ b/dee/__init__.py @@ -1 +1 @@ -# TODO(alxmrs): https://docs.google.com/document/d/1Ltl6XrZ_uGD2J7OW1roUsxhpFxx5QvNeInjuONIkmL8/edit#heading=h.uj7plawe7x7e \ No newline at end of file +# TODO(alxmrs): https://docs.google.com/document/d/1Ltl6XrZ_uGD2J7OW1roUsxhpFxx5QvNeInjuONIkmL8/edit#heading=h.uj7plawe7x7e diff --git a/dee/default_test.py b/dee/default_test.py new file mode 100644 index 0000000..76643df --- /dev/null +++ b/dee/default_test.py @@ -0,0 +1,14 @@ +import unittest + + +class ImportTest(unittest.TestCase): + + def test_can_import_dee(self): + try: + import dee + except ModuleNotFoundError: + self.fail('Cannot import `dee`.') + + +if __name__ == '__main__': + unittest.main()