mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-12 20:20:41 -05:00
Workflow Work
This commit is contained in:
parent
b6ef3eb761
commit
9b304df564
4
.env.ci
4
.env.ci
@ -12,8 +12,8 @@ DB_CONNECTION=mysql
|
||||
DB_HOST=mysql
|
||||
DB_PORT=33306
|
||||
DB_DATABASE=testing
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
DB_USERNAME=user
|
||||
DB_PASSWORD=password
|
||||
|
||||
FILESYSTEM_DISK=local
|
||||
QUEUE_CONNECTION=sync
|
||||
|
23
.github/workflows/general.yaml
vendored
23
.github/workflows/general.yaml
vendored
@ -62,7 +62,6 @@ jobs:
|
||||
with:
|
||||
php-version: '8.3'
|
||||
extensions: mbstring, dom, fileinfo
|
||||
tools: pint
|
||||
coverage: none
|
||||
- name: Configure Laravel Nova Authentication
|
||||
shell: bash
|
||||
@ -90,7 +89,7 @@ jobs:
|
||||
- name: Clear Laravel Config
|
||||
run: php artisan config:clear
|
||||
- name: Run Pint Code Style Fixer
|
||||
run: pint
|
||||
run: ./vendor/bin/pint
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: Pint PHP Style Fixes [no ci]
|
||||
@ -104,11 +103,18 @@ jobs:
|
||||
mysql:
|
||||
image: mysql:8.3
|
||||
env:
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
||||
MYSQL_DATABASE: testing
|
||||
MYSQL_USER: user
|
||||
MYSQL_PASSWORD: password
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
ports:
|
||||
- 33306:3306
|
||||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||
env:
|
||||
DB_DATABASE: testing
|
||||
DB_PORT: 33306
|
||||
DB_USERNAME: user
|
||||
DB_PASSWORD: password
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -152,16 +158,9 @@ jobs:
|
||||
php artisan key:generate
|
||||
php artisan config:cache
|
||||
php artisan route:cache
|
||||
- name: Run Migrations
|
||||
run: php artisan migrate -v
|
||||
env:
|
||||
DB_CONNECTION: mysql
|
||||
DB_DATABASE: testing
|
||||
DB_PORT: 33306
|
||||
DB_USER: root
|
||||
- name: Run Database Migrations
|
||||
run: php artisan migrate
|
||||
- name: Link Storage
|
||||
run: php artisan storage:link
|
||||
- name: Serve Application
|
||||
run: php artisan serve & sleep 5
|
||||
- name: Run Tests
|
||||
run: php artisan test
|
||||
|
@ -10,7 +10,8 @@ class ModListStats extends Component
|
||||
public function __construct(
|
||||
public $mod,
|
||||
public $modVersion
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function render(): View
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user