Skip to content

Commit

Permalink
GitHubActions-> Changes in maven file, java and maven installed
Browse files Browse the repository at this point in the history
  • Loading branch information
avdhutssh committed Sep 18, 2024
1 parent 9819dd5 commit 6164f8a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,19 @@ jobs:
- name: Start Selenium container
run: docker start selenium_chrome

- name: Run your tests
# Install Java and Maven on the Ubuntu runner
- name: Set up Java and Maven
uses: actions/setup-java@v2
with:
java-version: '11'

- name: Install Maven
run: sudo apt-get install -y maven

# Run Maven command to execute tests
- name: Run tests with Maven
run: |
# Your test execution logic goes here
echo "Running tests"
mvn clean test
- name: Stop and remove Selenium container
run: |
Expand Down

0 comments on commit 6164f8a

Please sign in to comment.