Jelajahi Sumber

set TOP in sytest containers

David Robertson 2 tahun lalu
induk
melakukan
cb5976ebd7
2 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 2 2
      .coveragerc
  2. 1 0
      .github/workflows/tests.yml

+ 2 - 2
.coveragerc

@@ -1,8 +1,8 @@
 [run]
 branch = True
 parallel = True
-include=$GITHUB_WORKSPACE/synapse/*
-data_file = $GITHUB_WORKSPACE/.coverage
+include=$TOP/synapse/*
+data_file = $TOP/.coverage
 
 [report]
 precision = 2

+ 1 - 0
.github/workflows/tests.yml

@@ -200,6 +200,7 @@ jobs:
         WORKERS: ${{ matrix.workers && 1 }}
         REDIS: ${{ matrix.redis && 1 }}
         BLACKLIST: ${{ matrix.workers && 'synapse-blacklist-with-workers' }}
+        TOP: ${{ github.workspace }}
 
     strategy:
       fail-fast: false