diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-22 16:29:59 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-22 16:29:59 +0200 |
| commit | b1d92b395322f2164ccfb44b0f7caebbaece6b62 (patch) | |
| tree | 2133e4045b4af4d07a98674b7ae3a234670f0305 /ci/docker | |
| parent | 3a4ae2942b43923ff98fd2eca8878c3cf145686c (diff) | |
Refactor: Restructure project
- Add an internal folder where all the internal code lives
- Make a state.go and state_test.go for the public interface
This gives a more clear separation between functions and modules. It
also makes this a more typical Go project setup.
Diffstat (limited to 'ci/docker')
| -rw-r--r-- | ci/docker/go-test.docker | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/docker/go-test.docker b/ci/docker/go-test.docker index 3e56f67..2e6bcd5 100644 --- a/ci/docker/go-test.docker +++ b/ci/docker/go-test.docker @@ -28,10 +28,11 @@ RUN go mod download && go mod verify WORKDIR /eduvpn/go # Copy go source -COPY ./src ./src +COPY *.go ./ +COPY ./internal ./internal # Copy selenium scripts COPY ./selenium_eduvpn.py ./selenium_eduvpn.py # Run the tests -CMD ["go", "test", "-mod=readonly", "github.com/jwijenbergh/eduvpn-common/src", "-v"] +CMD ["go", "test", "-mod=readonly", "./...", "-v"] |
