grim/convey

e5139263eab7
Add convey-docs.yml for building the docs.

We're using a separate file because the normal convey.yml is setup to work with
current convey, but the docs needs to be built by old convey at the moment.
package docker
import (
"testing"
"github.com/stretchr/testify/assert"
"keep.imfreedom.org/grim/convey/podman"
)
func TestRun(t *testing.T) {
r := &Run{
Image: "image",
}
assert.NoError(t, r.Valid())
}
func TestRunImageRequired(t *testing.T) {
r := &Run{}
assert.ErrorIs(t, r.Valid(), podman.ErrNoImage)
}