Skip to content

Commit

Permalink
Fix libsodium on test runners
Browse files Browse the repository at this point in the history
  • Loading branch information
zozs committed Mar 17, 2021
1 parent 38c7cc0 commit 7cc5b8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/push-pull-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04

strategy:
matrix:
Expand All @@ -28,6 +28,8 @@ jobs:
node-version: "15"
- uses: crazy-max/ghaction-setup-containerd@v1
name: Set up containerd
- run: sudo apt update && sudo apt install libsodium23 libsodium-dev
name: Install libsodium
- run: npm ci
name: Installing whalesong
- run: WHALESONG_DEBUG_ROUTES=1 DEBUG="*,-koa-router,-hypercore" node index.js &
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
name: "Use Node.js 15"
with:
node-version: "15"
- run: sudo apt update && sudo apt install libsodium23 libsodium-dev
name: Install libsodium
- run: npm i
name: Installing whalesong
- run: WHALESONG_DEBUG_ROUTES=1 npm test
Expand Down

0 comments on commit 7cc5b8b

Please sign in to comment.