diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02bcda7a..4ab7c646 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,14 +82,14 @@ jobs: -- -rFEx --durations 10 --color yes # pytest args - name: Generate coverage report run: pipx run coverage lcov -o coverage.lcov - # - name: Upload partial coverage report - # uses: coverallsapp/github-action@main - # if: ${{ matrix.platform != 'macos-12' }} - # with: - # path-to-lcov: coverage.lcov - # github-token: ${{ secrets.GITHUB_TOKEN }} - # flag-name: ${{ matrix.platform }} - py${{ matrix.python }} - # parallel: true + - name: Upload partial coverage report + uses: coverallsapp/github-action@main + if: ${{ matrix.platform != 'macos-12' }} + with: + path-to-lcov: coverage.lcov + github-token: ${{ secrets.GITHUB_TOKEN }} + flag-name: ${{ matrix.platform }} - py${{ matrix.python }} + parallel: true - name: Save coverage report if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python == '3.11' }} uses: actions/upload-artifact@v4 @@ -101,13 +101,11 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - run: |- - echo "Mock" - # - name: Finalize coverage report - # uses: coverallsapp/github-action@main - # with: - # github-token: ${{ secrets.GITHUB_TOKEN }} - # parallel-finished: true + - name: Finalize coverage report + uses: coverallsapp/github-action@main + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel-finished: true benchmark: needs: finalize @@ -166,7 +164,6 @@ jobs: - name: Run benchmark id: benchmark - if: false env: QUICK_BENCHMARK: ${{ ! contains( github.event.pull_request.labels.*.name, 'benchmark') }} run: |- diff --git a/docs/assets/js/posthog.js b/docs/assets/js/posthog.js new file mode 100644 index 00000000..209f75a7 --- /dev/null +++ b/docs/assets/js/posthog.js @@ -0,0 +1,6 @@ +!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="init Re Cs Fs Pe Rs Ms capture Ve calculateEventProperties Ds register register_once register_for_session unregister unregister_for_session zs getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSurveysLoaded onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey canRenderSurveyAsync identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty js As createPersonProfile Ns Is Us opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing Os debug I Ls getPageViewId captureTraceFeedback captureTraceMetric".split(" "),n=0;n