Skip to content

Commit

Permalink
Merge pull request #168 from c410-f3r/misc
Browse files Browse the repository at this point in the history
Ignore patch updates
  • Loading branch information
c410-f3r authored May 8, 2024
2 parents dca01df + b5db489 commit fb79d15
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 34 deletions.
8 changes: 7 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@ version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
schedule:
interval: daily

- package-ecosystem: "github-actions"
directory: "/"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
schedule:
interval: "weekly"
interval: "daily"
35 changes: 12 additions & 23 deletions .github/workflows/bencher.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,22 @@
name: Bencher
on:
push:
branches:
- main
schedule:
- cron: "0 6 * * *"
workflow_dispatch:

jobs:
benchmark_with_bencher:
name: Continuous Benchmarking with Bencher
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
- name: Track Benchmarks with Bencher
- name: Track base branch benchmarks with Bencher
run: |
set +e
set +o pipefail
function fun() {
bencher run \
--branch main \
--err \
--project wtx \
--testbed ubuntu-latest \
--token "${{ secrets.BENCHER_API_TOKEN }}" \
"cargo bench --all-features"
return $?
}
fun
echo $?
exit 0
bencher run \
--adapter rust_bench \
--branch main \
--err \
--project wtx \
--testbed ubuntu-latest \
--token "${{ secrets.BENCHER_API_TOKEN }}" \
"cargo bench --all-features"
1 change: 0 additions & 1 deletion .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: Deploy docs
on:
push:
branches:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: Tests
on:
pull_request:
push:
Expand Down
3 changes: 0 additions & 3 deletions .scripts/autobahn-fuzzingclient.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ if [ "$ARG" != "ci" ]; then
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
fi;

## fuzzingclient

cargo build --bin autobahn-server --features async-send,flate2,optimization,pool,tokio,web-socket-handshake --profile bench
cargo run --bin autobahn-server --features async-send,flate2,optimization,pool,tokio,web-socket-handshake --profile bench & cargo_pid=$!
sleep 1
Expand All @@ -19,7 +17,6 @@ podman run \
--network host \
--rm \
docker.io/crossbario/autobahn-testsuite:0.8.2 wstest -m fuzzingclient -s fuzzingclient.json
podman rm --force --ignore fuzzingclient
kill -9 $cargo_pid

if [ $(grep -ci "failed" .scripts/autobahn/reports/fuzzingclient/index.json) -gt 0 ]
Expand Down
9 changes: 5 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wtx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ smol = { default-features = false, optional = true, version = "2.0" }
smoltcp = { default-features = false, optional = true, version = "0.11" }
test-strategy = { default-features = false, optional = true, version = "0.3" }
tokio = { default-features = false, features = ["io-util", "net", "sync", "time"], optional = true, version = "1.37" }
tokio-rustls = { default-features = false, features = ["ring"], optional = true, version = "0.25" }
tokio-rustls = { default-features = false, features = ["ring"], optional = true, version = "0.26" }
tracing = { default-features = false, features = ["attributes"], optional = true, version = "0.1" }
tracing-subscriber = { default-features = false, features = ["env-filter", "fmt"], optional = true, version = "0.3" }
tracing-tree = { default-features = false, optional = true, version = "0.3" }
Expand Down

0 comments on commit fb79d15

Please sign in to comment.