0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Updated SQLite path for CI tests

- turns out GitHub Actions doesn't have /tmp as a tmpfs, so this commit
  switches to using /dev/shm, which *should* work ok
This commit is contained in:
Daniel Lockyer 2021-02-19 12:46:28 +00:00
parent 2fe1fb59ee
commit 26c49b4f57

View file

@ -36,6 +36,7 @@ jobs:
DB: ['sqlite3', 'mysql']
env:
database__client: ${{ matrix.DB }}
database__connection__filename: /dev/shm/ghost-test.db
database__connection__host: 127.0.0.1
database__connection__user: root
database__connection__password: root
@ -104,8 +105,12 @@ jobs:
- run: yarn
- run: grunt test-acceptance --verbose
env:
database__connection__filename: /dev/shm/ghost-test.db
- run: grunt test-unit --verbose
- run: grunt test-regression --verbose
env:
database__connection__filename: /dev/shm/ghost-test.db
- uses: daniellockyer/action-slack-build@master
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'