mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update circleci config
This commit is contained in:
parent
f318bd7a30
commit
039dfaa6c3
1 changed files with 8 additions and 4 deletions
|
@ -21,7 +21,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
- run: sudo apt update && sudo apt install zlib1g-dev libsqlite3-dev
|
- run:
|
||||||
|
name: "Create Environment file and generate app key"
|
||||||
|
command: |
|
||||||
|
mv .env.testing .env
|
||||||
|
|
||||||
|
- run: sudo apt install zlib1g-dev libsqlite3-dev
|
||||||
|
|
||||||
# Download and cache dependencies
|
# Download and cache dependencies
|
||||||
|
|
||||||
|
@ -36,18 +41,17 @@ jobs:
|
||||||
- run: composer install -n --prefer-dist
|
- run: composer install -n --prefer-dist
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: composer-v2-{{ checksum "composer.lock" }}
|
key: v2-dependencies-{{ checksum "composer.json" }}
|
||||||
paths:
|
paths:
|
||||||
- vendor
|
- vendor
|
||||||
|
|
||||||
- run: cp .env.testing .env
|
|
||||||
- run: php artisan config:cache
|
- run: php artisan config:cache
|
||||||
- run: php artisan route:clear
|
- run: php artisan route:clear
|
||||||
- run: php artisan storage:link
|
- run: php artisan storage:link
|
||||||
- run: php artisan key:generate
|
- run: php artisan key:generate
|
||||||
|
|
||||||
# run tests with phpunit or codecept
|
# run tests with phpunit or codecept
|
||||||
- run: php artisan test --env=testing
|
- run: php artisan test
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: tests/_output
|
path: tests/_output
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
|
|
Loading…
Reference in a new issue