mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-02 14:24:27 -04:00
fix: create .env file before running tests in build-release workflow
The .env file is needed for CodeIgniter testing environment setup. This matches what phpunit.yml workflow does.
This commit is contained in:
4
.github/workflows/build-release.yml
vendored
4
.github/workflows/build-release.yml
vendored
@@ -151,8 +151,8 @@ jobs:
|
||||
- name: Install dev dependencies
|
||||
run: composer install --no-interaction --optimize-autoloader
|
||||
|
||||
- name: Ensure Seeds directory exists
|
||||
run: mkdir -p app/Database/Seeds && touch app/Database/Seeds/.gitkeep
|
||||
- name: Create .env file
|
||||
run: cp .env.example .env
|
||||
|
||||
- name: Start MariaDB
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user