summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-08-11 20:08:48 +0100
committerDavid Robertson <davidr@element.io>2021-08-11 20:08:48 +0100
commitcb5976ebd71e25da2b2370185d640e80a2245d04 (patch)
treecccf28e7fa4eaa8d16b9686651f89ed04231efd9
parentTeach MANIFEST and tox about ci->.ci (diff)
downloadsynapse-cb5976ebd71e25da2b2370185d640e80a2245d04.tar.xz
set TOP in sytest containers
-rw-r--r--.coveragerc4
-rw-r--r--.github/workflows/tests.yml1
2 files changed, 3 insertions, 2 deletions
diff --git a/.coveragerc b/.coveragerc
index bbf9046b06..11f2ec8387 100644
--- a/.coveragerc
+++ b/.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
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index df2e3901cb..de022020cc 100644
--- a/.github/workflows/tests.yml
+++ b/.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