Skip to content

Commit

Permalink
Almost time to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
hwittenborn committed Oct 10, 2022
1 parent 23bea37 commit 9f585f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .drone/drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ local deploy() = {
name: "deploy",
kind: "pipeline",
type: "docker",
volumes: [{name: "docker", host: {path: "/var/run/docker.sock"}}],
trigger: {branch: ["main"]},
steps: [
{
name: "run-tests",
image: "proget.makedeb.org/docker/makedeb/makedeb:ubuntu-jammy",
volumes: [{name: "docker", path: "/var/run/docker.sock"}],
commands: [
"sudo chown 'makedeb:makedeb' ./ -R",
".drone/scripts/setup-pbmpr.sh",
"sudo apt-get install rustup libssl-dev pkg-config libapt-pkg-dev -y",
"cargo fmt --check",
"cargo clippy -- -D warnings"
"sudo apt-get install toast -y",
"sudo toast"
]
},

Expand Down
3 changes: 3 additions & 0 deletions toast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ tasks:
just build
run-e2e-tests:
dependencies: ["run-tests"]
input_paths:
- tests/
- target/
command: bats tests/

0 comments on commit 9f585f1

Please sign in to comment.