Skip to content

Update dependency pybind11 to v2.13.6 #3967

Update dependency pybind11 to v2.13.6

Update dependency pybind11 to v2.13.6 #3967

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
docker-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: docker build test
run: |
./install-docker.sh && \
docker buildx create --use && \
docker buildx build \
--platform linux/arm/v7,linux/amd64,linux/arm64 \
--file Dockerfile.server .
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.0'
- run: go version
- 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 && shellcheck -x -e SC2016 -e SC2119 -e SC2129 -e SC2001 -e SC2038 -e SC2044 certstrap/gen_faucetconfrpc_keys.sh
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
virtualenvs-in-project: false
version: 1.8.1
- name: poetry install
run: |
poetry install
- name: grpc install
env:
PYTHONPATH: "."
GO111MODULE: "on"
run: |
go install github.com/square/certstrap@latest && \
go install github.com/golang/protobuf/protoc-gen-go@latest && \
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest && \
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest && \
PATH=~/go/bin:$PATH certstrap -v && \
sudo apt-get update && sudo apt install -y protobuf-compiler && \
cd src/faucetconfrpc && PATH=~/go/bin:$PATH ./generate_pb_grpc.sh && cd ../..
- name: tests
env:
PYTHONPATH: "."
run: |
./tests/codecheck.sh && \
PATH=~/go/bin:$PATH pytest -s ./tests/test_faucetconfrpc.py
- name: golang install test
run: |
echo "module iqtlabs/faucetconfrpc" > go.mod && \
cd tests/gotest && echo -e "module gotest\ngo 1.20\nrequire (\n\tgithub.com/iqtlabs/faucetconfrpc latest\n\tgoogle.golang.org/grpc latest\n)\nreplace github.com/iqtlabs/faucetconfrpc => ../.." > go.mod && \
cat go.mod && go mod download && go get gotest
# go build