diff --git a/.github/workflows/python_tests.yaml b/.github/workflows/python_tests.yaml index b2f3cfe..a044540 100644 --- a/.github/workflows/python_tests.yaml +++ b/.github/workflows/python_tests.yaml @@ -18,6 +18,12 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 + with: + # Check out pull request's HEAD commit instead of the merge commit to + # work around an issue where wrong a commit is being checked out. + # For more details, see: + # https://github.com/actions/checkout/issues/299. + ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python 3.10 uses: actions/setup-python@v2 diff --git a/Makefile b/Makefile index 572295d..163db48 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,8 @@ format: init-python-sdk: cd python-sdk; pip install -e '.[dev]' -U -init: init-python-sdk init-server +init: + echo "TESTING-PULLREQUEST-TARGET" init-server: cd server; npm install