diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c0e5d4..f71ab4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -130,7 +130,7 @@ jobs: run: | pip3 install coverage - name: Download all coverage artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: path: ./coverage - name: Combine coverage diff --git a/anyscale_provider/operators/anyscale.py b/anyscale_provider/operators/anyscale.py index 98f8923..76f2bdb 100644 --- a/anyscale_provider/operators/anyscale.py +++ b/anyscale_provider/operators/anyscale.py @@ -312,6 +312,10 @@ def __init__( self.canary_percent = canary_percent self.max_surge_percent = max_surge_percent + @staticmethod + def test_me() -> None: + assert 1 == 1 + @cached_property def hook(self) -> AnyscaleHook: """Return an instance of the AnyscaleHook.""" diff --git a/scripts/test/unit_test.sh b/scripts/test/unit_test.sh index 4b6dec8..e35eaed 100644 --- a/scripts/test/unit_test.sh +++ b/scripts/test/unit_test.sh @@ -1,4 +1,8 @@ pytest \ -vv \ + --cov=anyscale_provider \ + --cov-report=term-missing \ + --cov-report=xml \ + --durations=0 \ --durations=0 \ -m "not (integration or perf)"