diff --git a/.github/workflows/single-card-demo-tests.yaml b/.github/workflows/single-card-demo-tests.yaml index 86802f2d531..3d211c577c2 100644 --- a/.github/workflows/single-card-demo-tests.yaml +++ b/.github/workflows/single-card-demo-tests.yaml @@ -1,4 +1,4 @@ -name: "[Single-card] Demo tests" +name: "(Single-card) Demo tests" on: workflow_dispatch: @@ -63,3 +63,18 @@ jobs: cd $TT_METAL_HOME export PYTHONPATH=$TT_METAL_HOME ${{ matrix.test-group.cmd }} + - name: Save environment data + if: ${{ success() }} + env: + PYTHONPATH: ${{ github.workspace }} + run: | + source ${{ github.workspace }}/python_env/bin/activate + python3 .github/scripts/data_analysis/create_benchmark_environment_csv.py + - name: Upload benchmark data + if: ${{ success() }} + uses: ./.github/actions/upload-data-via-sftp + with: + ssh-private-key: ${{ secrets.SFTP_BENCHMARK_WRITER_KEY }} + sftp-batchfile: .github/actions/upload-data-via-sftp/benchmark_data_batchfile.txt + username: ${{ secrets.SFTP_BENCHMARK_WRITER_USERNAME }} + hostname: ${{ secrets.SFTP_BENCHMARK_WRITER_HOSTNAME }}