Skip to content

Commit

Permalink
chore: Remove GitHub action which tests zio-http route which do not e…
Browse files Browse the repository at this point in the history
…xist anymore
  • Loading branch information
seakayone committed Oct 24, 2023
1 parent cb5dec6 commit 2c06445
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 36 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,36 +70,6 @@ jobs:
with:
files: ./target/scala-2.13/coverage-report/cobertura.xml

zio-http-test:
name: Build and zio-http-test
runs-on: ubuntu-latest
strategy:
matrix:
java: [ "17", "21" ]
steps:
- name: Run preparatory steps
uses: dasch-swiss/dsp-api/.github/actions/preparation@main
with:
java-version: ${{ matrix.java }}
- name: Run all ZioHttp tests
run: make zio-http-test
- name: ZIO-Http Routes Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: ZIO-Http Routes Test Report
path: ./integration/target/test-reports/TEST-*.xml
reporter: java-junit
- name: Upload coverage data to codacy
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ./target/scala-2.13/coverage-report/cobertura.xml
- name: Upload coverage data to codecov
uses: codecov/codecov-action@v3
with:
files: ./target/scala-2.13/coverage-report/cobertura.xml

test-client-test-data:
name: Test client-test-data
runs-on: ubuntu-latest
Expand Down
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ test-repository-upgrade: build init-db-test-minimal ## runs DB upgrade integrati
@$(MAKE) -f $(THIS_FILE) stack-up

.PHONY: test-all
test-all: test integration-test zio-http-test
test-all: test integration-test

.PHONY: test
test: ## runs all unit tests
Expand All @@ -218,10 +218,6 @@ test: ## runs all unit tests
integration-test: docker-build-sipi-image ## runs all integration tests
$(SBTX) -v coverage "integration/test" coverageAggregate

.PHONY: zio-http-test
zio-http-test: ## runs tests against ZIO HTTP routes
$(SBTX) -v coverage "integration/testOnly *ZioHttpSpec" -Dkey=zio coverageAggregate


#################################
## Database Management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import pekko.util.Timeout
/**
* End-to-End (E2E) test specification for testing groups endpoint.
*/
class ProjectsADME2EZioHttpSpec extends E2ESpec with ProjectsADMJsonProtocol {
class ProjectsADME2ESpec extends E2ESpec with ProjectsADMJsonProtocol {

private val rootEmail = SharedTestDataADM.rootUser.email
private val testPass = SharedTestDataADM.testPass
Expand Down

0 comments on commit 2c06445

Please sign in to comment.