Skip to content

Commit f545e7c

Browse files
committed
CDM-15 : fixing up yaml and makefile
1 parent f3bf4e4 commit f545e7c

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Build and test jar with integration tests
2-
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
32
on: [push]
43
jobs:
5-
Explore-GitHub-Actions:
4+
CDM-Integration-Test:
65
runs-on: ubuntu-latest
76
steps:
87
- uses: actions/checkout@v3
@@ -12,12 +11,8 @@ jobs:
1211
java-version: '8'
1312
distribution: 'temurin'
1413
cache: maven
15-
- name: Build with Maven
16-
run: mvn -B package --file pom.xml
17-
1814
- name: Test SIT with cdm
1915
working-directory: SIT
2016
run: |
2117
echo "Testing SIT with cdm"
22-
chmod o+rx ./environment.sh
23-
make -f Makefile
18+
make -f Makefile

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
name: Maven Package
55

6-
on: [push]
7-
# push:
8-
# branches: [ main ]
6+
on:
7+
push:
8+
branches: [ main ]
99

1010
jobs:
1111
build:

SIT/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

2-
all: set_permissions setup test_smoke env_teardown
2+
all: setup test_smoke env_teardown
33

4-
set_permissions:
5-
chmod -R 777 ./*.sh
64
setup: build env_setup
75

86
reset: build env_reset
@@ -16,6 +14,7 @@ test_smoke_cmd:
1614
./test.sh -p smoke
1715

1816
env_setup:
17+
chmod -R 777 ./*.sh
1918
./environment.sh -m setup -j ../target/cassandra-data-migrator*.jar
2019
env_reset:
2120
./environment.sh -m reset -j ../target/cassandra-data-migrator*.jar

0 commit comments

Comments
 (0)