Use non-editable CI install for account_do

Hatchling cannot build editable installs when project sources rewrite a prefix.

Install the package normally with test extras in Gitea Actions and keep the workflow coverage test aligned with that supported install path.
This commit is contained in:
José Arturo García
2026-08-09 13:27:38 -04:00
parent fc5cef658f
commit 5595296401
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- name: Install package and test dependencies - name: Install package and test dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install -e '.[test]' python -m pip install '.[test]'
- name: Compile Python sources - name: Compile Python sources
run: | run: |
+1 -1
View File
@@ -561,7 +561,7 @@ class AccountDoUnitTestCase(unittest.TestCase):
self.assertIn('test:', workflow) self.assertIn('test:', workflow)
self.assertIn('publish:', workflow) self.assertIn('publish:', workflow)
self.assertIn('needs: test', workflow) self.assertIn('needs: test', workflow)
self.assertIn("python -m pip install -e '.[test]'", workflow) self.assertIn("python -m pip install '.[test]'", workflow)
self.assertIn('python -m compileall .', workflow) self.assertIn('python -m compileall .', workflow)
self.assertIn( self.assertIn(
"python -m unittest discover -s tests -p 'test*.py'", workflow) "python -m unittest discover -s tests -p 'test*.py'", workflow)