Skip to content

Merge pull request #2916 from faucetsdn/dependabot/pip/lib/poseidon_a… #6279

Merge pull request #2916 from faucetsdn/dependabot/pip/lib/poseidon_a…

Merge pull request #2916 from faucetsdn/dependabot/pip/lib/poseidon_a… #6279

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: shell_test
run: |
wget "https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz" && \
tar --xz -xvf "shellcheck-stable.linux.x86_64.tar.xz" && \
shellcheck() { "shellcheck-stable/shellcheck" "$@"; } && \
shellcheck --version && \
/bin/bash --version && /bin/bash -n bin/poseidon && shellcheck -x -e SC2016 -e SC2119 -e SC2129 -e SC2001 -e SC2038 -e SC2044 bin/poseidon
- name: e2e_test
run: |
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections
sudo apt-get update && sudo apt-get install -y libev-dev tshark wget jq tcpreplay tcpdump
docker system prune -a -f --volumes && ./tests/test_e2e.sh