Skip to content

Commit

Permalink
fix: 🔧 Fix CI 0/n
Browse files Browse the repository at this point in the history
  • Loading branch information
fungiboletus committed Feb 25, 2024
1 parent 614eae9 commit 731866e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
- name: Set up Rust
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Install the test dependencies
run: apt-get update && apt-get install -y rrdcached socat
run: sudo apt-get update && apt-get install -y rrdcached socat
- name: Run the rrdcached server
run: |
mkdir -p /tmp/rrdcached/db /tmp/rrdcached/journal &&
sudo mkdir -p /tmp/rrdcached/db /tmp/rrdcached/journal &&
sudo chown -R $USER /tmp/rrdcached &&
rrdcached -B -R -t 2 -b /tmp/rrdcached/db -j /tmp/rrdcached/journal -l 42217 -p /tmp/rrdcached.pid &&
socat UNIX-LISTEN:./rrdcached.sock,reuseaddr,fork TCP:localhost:42217 &
- name: Test the project
Expand Down

0 comments on commit 731866e

Please sign in to comment.