mirror of
https://github.com/hmalik144/api-testing-automation-framework.git
synced 2025-12-10 02:55:21 +00:00
Update maven.yml
This commit is contained in:
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@@ -29,6 +29,12 @@ jobs:
|
|||||||
cache: maven
|
cache: maven
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -DskipTests=true -B package --file pom.xml
|
run: mvn -DskipTests=true -B package --file pom.xml
|
||||||
|
- name: 'Create env file'
|
||||||
|
run: |
|
||||||
|
touch .env
|
||||||
|
echo API_USERNAME=admin >> .env
|
||||||
|
echo API_PASSWORD=password123 >> .env
|
||||||
|
cat .env
|
||||||
- name: Run JUnit tests
|
- name: Run JUnit tests
|
||||||
run: mvn clean test
|
run: mvn clean test
|
||||||
- name: Archive test output
|
- name: Archive test output
|
||||||
|
|||||||
Reference in New Issue
Block a user