Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove GitHub action which tests zio-http routes #2903

Merged
merged 2 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/workflows/build-and-test.yml
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
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
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