We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139bda1 commit dc5d710Copy full SHA for dc5d710
.github/workflows/ci.yaml
@@ -0,0 +1,26 @@
1
+name: Deploy
2
+
3
+on: [push]
4
5
+jobs:
6
+ tests:
7
+ name: Run tests
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v1
11
+ - name: Cache composer dependencies
12
+ uses: actions/cache@v1
13
+ with:
14
+ path: vendor
15
+ key: composer-${{ hashFiles('composer.lock') }}
16
+ - name: Run composer install
17
+ run: |
18
+ php --version
19
+ composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_PASSWORD }}"
20
+ composer install -n --prefer-dist
21
+ env:
22
+ APP_ENV: testing
23
+ - name: Run tests
24
+ run: ./vendor/bin/phpunit
25
26
0 commit comments