Skip to content

Commit

Permalink
modevo.properties created on job instead of modifying existing one.
Browse files Browse the repository at this point in the history
works in local
  • Loading branch information
pablo committed Apr 17, 2024
1 parent f7459fd commit 22174e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
- name: Modify modevo.properties
run: |
cat ${GITHUB_WORKSPACE}/modevo.properties
sed -i 's/user=[^[:space:]]*/user=testcassandra/' ${GITHUB_WORKSPACE}/modevo.properties
sed -i 's/password=[^[:space:]]*/password=$TEST_CASSANDRA_PWD/' ${GITHUB_WORKSPACE}/modevo.properties
cat ${GITHUB_WORKSPACE}/modevo.properties
echo "ip=localhost" > ${GITHUB_WORKSPACE}/modevo.properties
echo "port=9042" >> ${GITHUB_WORKSPACE}/modevo.properties
echo "user=testcassandra" >> ${GITHUB_WORKSPACE}/modevo.properties
echo "password=$TEST_CASSANDRA_PWD" >> ${GITHUB_WORKSPACE}/modevo.properties
- name: Test and aggregate surefire report
run: mvn test surefire-report:report -Daggregate=true -Dmaven.test.failure.ignore=true -U --no-transfer-progress

Expand Down
4 changes: 0 additions & 4 deletions modevo.properties

This file was deleted.

0 comments on commit 22174e7

Please sign in to comment.