Skip to content

Commit cd52e34

Browse files
author
Samuel Akopyan
committed
~ changes in automation
1 parent 7c06b5e commit cd52e34

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
11
#-----------------------------------------
2-
# Basic Deploy
2+
# Framework Deploy
33
#-----------------------------------------
4-
name: Basic Deploy
4+
name: Framework Deploy
55
env:
66
APP_NAME: APPHP MVC FRAMEWORK
77
DEPLOY_PACKAGE_NAME: "apphp-deploy-${{ github.sha }}"
88

9-
# [push]
9+
# Run on [push]
1010
on:
1111
push:
1212
branches:
1313
#- master
1414
- dev
1515

1616
jobs:
17-
runs-on: ubuntu-latest
18-
19-
my-testing:
17+
# testing:
2018
# runs-on: ubuntu-latest
2119

22-
steps:
23-
- name: Run testing
24-
run: echo Testing is running...
20+
# steps:
21+
# - name: Run testing
22+
# run: echo Testing is running...
2523
#
2624
# - name: Print env variables
2725
# run: |
2826
# echo "App Name: ${{ env.APP_NAME }}"
2927

3028

31-
my-deploy:
32-
# runs-on: ubuntu-latest
33-
# needs: [my-testing]
29+
deploy:
30+
runs-on: ubuntu-latest
31+
# needs: [testing]
3432

3533
steps:
3634
- name: Print env variables
@@ -48,14 +46,6 @@ jobs:
4846
composer --version
4947
phpunit --version
5048
51-
# - name: Re-install PHPUnit
52-
# run: composer require phpunit/phpunit ^7
53-
#
54-
# - name: Check again some packages if they are installed
55-
# run: |
56-
# composer --version
57-
# phpunit --version
58-
59-
- name: Runt PHPUnit tests
49+
- name: Runt PHPUnit tests
6050
run: composer tests
6151

0 commit comments

Comments
 (0)