]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Adding sudo to both instances where pytest appears in the CI in order to allow testin...
authorgsegatti <gabrielsegatti2@gmail.com>
Wed, 2 Feb 2022 16:54:57 +0000 (08:54 -0800)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 2 Feb 2022 18:00:55 +0000 (18:00 +0000)
.github/workflows/ci.yml

index 25c938b1a43335995a944d3e3ffc60a5927d508c..7ac2b8d50c9d969414981ecf501a55ad3981dc49 100644 (file)
@@ -19,7 +19,7 @@ jobs:
 
     - name: Install
       run: |
-        python3 -m pip install pytest mypy types-cryptography isort pyflakes
+        sudo python3 -m pip install pytest mypy types-cryptography isort pyflakes
         npm install -g pyright
 
     - name: Check that imports are sorted
@@ -38,7 +38,7 @@ jobs:
       run: pyright .
 
     - name: Unit Tests
-      run: python3 -m pytest
+      run: sudo python3 -m pytest
 
     - name: Test execution from current working directory
       run: python3 -m mkosi -h