Skip to content

Commit

Permalink
wip: verify output
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenautumns committed Nov 4, 2024
1 parent d7ff0c5 commit f691eb1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,9 @@ jobs:
- name: Check CGroup
run: systemd-run --user --scope cat /proc/self/cgroup
- name: Run example ${{ matrix.example }}
run: nix develop --command systemd-run-example-${{ matrix.example }} --duration $DURATION
id: run_step
shell: nix develop --command bash -e {0}
run: echo "log=$( systemd-run-example-${{ matrix.example }} --duration $DURATION )" >> $GITHUB_OUTPUT
- name: Test output
run: |
echo ${{ steps.run_step.outputs.log }} | grep INFO

0 comments on commit f691eb1

Please sign in to comment.