File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
- # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2
- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3
-
4
- # This workflow uses actions that are not certified by GitHub.
5
- # They are provided by a third-party and are governed by
6
- # separate terms of service, privacy policy, and support
7
- # documentation.
8
-
9
1
name : Java CI with Maven
10
2
11
3
on :
49
41
- name : Create and Seed Database
50
42
run : docker compose -f docker-compose-toolshop.yml exec laravel-api php artisan migrate:fresh --seed
51
43
44
+ - name : GET Version
45
+ run : curl -v -X GET 'http://localhost:8091/status'
46
+
47
+ - name : POST login
48
+ run : |
49
+ curl -v -X POST 'http://localhost:8091/users/login' \
50
+ -H 'Content-Type: application/json' \
51
+ --data-raw '{"email":"customer@practicesoftwaretesting.com","password":"welcome01"}'
52
+
52
53
- name : Build Project and run tests
53
54
run : mvn clean install
54
55
You can’t perform that action at this time.
0 commit comments