Skip to content

Commit

Permalink
ci: Physmon memory monitoring push fix (#2281)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Jul 7, 2023
1 parent d6c23c6 commit e036202
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,7 @@ jobs:
run: >
echo "::group::Dependencies"
&& git config --global safe.directory "$GITHUB_WORKSPACE"
&& pip3 install histcmp==0.5.2
&& pip3 install spyral-cli==1.0.6
&& pip3 install histcmp==0.6.2 spyral-cli==1.1.0 matplotlib
&& pip3 install -r Examples/Scripts/requirements.txt
&& /usr/local/bin/geant4-config --install-datasets
&& source /usr/local/bin/thisroot.sh
Expand All @@ -322,8 +321,19 @@ jobs:
name: physmon
path: physmon

linux_physmon_perf_report:
needs: [linux_physmon]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Install dependencies
run: pip3 install spyral-cli==1.1.0

- uses: actions/download-artifact@v3
with:
name: physmon

- name: Store metrics
if: github.ref == 'refs/heads/main'
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
Expand Down
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ linux_physmon:
- cd ..

- git config --global safe.directory "$GITHUB_WORKSPACE"
- pip3 install histcmp==0.5.2
- pip3 install spyral-cli==1.0.6
- pip3 install histcmp==0.6.2 spyral-cli==1.1.0 matplotlib
- pip3 install -r src/Examples/Scripts/requirements.txt
- /usr/local/bin/geant4-config --install-datasets
- "source /usr/local/bin/thisroot.sh || true"
Expand Down

0 comments on commit e036202

Please sign in to comment.