Skip to content

Commit

Permalink
🔥 Remove test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gleich committed Dec 19, 2020
1 parent 4755fdf commit f6a83e0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 52 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,9 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2
- run: make build-docker-prod
docker-dev:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- run: make build-docker-dev
docker-dev-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- run: make build-docker-dev-lint

4 changes: 0 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ jobs:
uses: brpaz/hadolint-action@master
with:
dockerfile: "docker/Dockerfile"
- name: Linting dev.Dockerfile
uses: brpaz/hadolint-action@master
with:
dockerfile: "docker/dev.Dockerfile"
- name: Linting dev.lint.Dockerfile
uses: brpaz/hadolint-action@master
with:
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/test.yml

This file was deleted.

18 changes: 1 addition & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

build-docker-prod:
docker build -f docker/Dockerfile -t mattgleich/ctree:latest .
build-docker-dev:
docker build -f docker/dev.Dockerfile -t mattgleich/ctree:test .
build-docker-dev-lint:
docker build -f docker/dev.lint.Dockerfile -t mattgleich/ctree:lint .
build-go:
Expand All @@ -27,30 +25,16 @@ lint-goreleaser:
goreleaser check
lint-hadolint:
hadolint docker/Dockerfile
hadolint docker/dev.Dockerfile
hadolint docker/dev.lint.Dockerfile
lint-in-docker: build-docker-dev-lint
docker run mattgleich/ctree:lint

#########
# Testing
#########

test-go:
go get -v -t -d ./...
go test -v ./...
test-in-docker: build-docker-dev
docker run mattgleich/ctree:test

##########
# Grouping
##########

# Testing
local-test: test-go
docker-test: test-in-docker
# Linting
local-lint: lint-golangci lint-goreleaser lint-hadolint lint-gomod
docker-lint: lint-in-docker
# Build
local-build: build-docker-prod build-docker-dev build-docker-dev-lint
local-build: build-docker-prod build-docker-dev-lint

0 comments on commit f6a83e0

Please sign in to comment.