Skip to content

Commit

Permalink
Merge pull request #1469 from daizhenyu/develop-database-write-prohib…
Browse files Browse the repository at this point in the history
…ition-integration

database integration: workflow update
  • Loading branch information
lilai23 authored Mar 15, 2024
2 parents 62f0a12 + 3a08e5f commit da3e237
Showing 1 changed file with 1 addition and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,42 +54,4 @@ jobs:
sed -i '/sermant-backend/d' pom.xml
sed -i '/sermant-integration-tests/d' pom.xml
sed -i '/sermant-injector/d' pom.xml
mvn package -DskipTests -Ptest --file pom.xml
test-for-database-write-prohibition-mongodb:
name: Test for database-write-prohibition mongodb
runs-on: ubuntu-latest
needs: [build-agent-and-cache, download-midwares-and-cache]
strategy:
matrix:
include:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 100
- name: set java version to environment
run: |
echo "javaVersion=8" >> $GITHUB_ENV
- name: common operations
uses: ./.github/actions/common/database-write-prohibition
- name: database-write-prohibition-mongodb test for mongodbVersion=${{ matrix.mongodbVersion }}
uses: ./.github/actions/scenarios/database-write-prohibition/mongodb
test-for-database-write-prohibition-mysql:
name: Test for database-write-prohibition mysql
runs-on: ubuntu-latest
needs: [build-agent-and-cache, download-midwares-and-cache]
strategy:
matrix:
include:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 100
- name: set java version to environment
run: |
echo "javaVersion=8" >> $GITHUB_ENV
- name: common operations
uses: ./.github/actions/common/database-write-prohibition
- name: database-write-prohibition-mysql test for mysqlVersion=${{ matrix.mysqlVersion }}
uses: ./.github/actions/scenarios/database-write-prohibition/mysql
mvn package -DskipTests -Ptest --file pom.xml

0 comments on commit da3e237

Please sign in to comment.