From f01280192485c29b480599e9e77f45c1b899fbbf Mon Sep 17 00:00:00 2001 From: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> Date: Thu, 7 Mar 2024 18:08:29 +0100 Subject: [PATCH] chore(.github/workflows/pr_validation): enforce check Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> --- .github/workflows/pr_validation.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_validation.yml b/.github/workflows/pr_validation.yml index 470ee19f..fe7d993d 100644 --- a/.github/workflows/pr_validation.yml +++ b/.github/workflows/pr_validation.yml @@ -22,17 +22,17 @@ jobs: os: [ windows-latest ] python: [ "3.9" ] steps: + # Checkout not in working dir to ensure the imported module is the installed one - uses: actions/checkout@v3 + with: + path: anywhere - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: Install dependencies - env: - GIT_TOKEN: ${{ secrets.GIT_TOKEN }} - GIT_USERNAME: ${{ secrets.GIT_USERNAME }} run: | python -m pip install --upgrade pip - pip install -e ".[all_extra]" + pip install -e "./anywhere/[all_extra]" - name: Test import successful run: | python -c "import fedeca"