Skip to content

Commit

Permalink
Fix tests (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 authored Aug 26, 2023
1 parent 7adbfcd commit e4e8dd1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 26 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,30 +52,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Control Center
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
path: controlcenter

- name: Checkout Handover
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
with:
repository: vatsim-scandinavia/handover
path: handover

- name: Setup dependencies for Handover
uses: ./controlcenter/.github/actions/setup-dependencies
with:
path: handover
setup-node: false

- name: Setup Handover
uses: ./controlcenter/.github/actions/setup-project
with:
path: handover
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite

- name: Setup dependencies for Control Center
uses: ./controlcenter/.github/actions/setup-dependencies
with:
Expand All @@ -90,8 +70,6 @@ jobs:
seed-database: true
env:
DB_CONNECTION: sqlite-testing
DB_HANDOVER_CONNECTION: sqlite-handover
DB_HANDOVER_DATABASE: ../handover/database/database.sqlite

- name: Execute unit and feature tests via PHPUnit
run: ./vendor/bin/phpunit --color=always --testdox
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Control Center
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
path: .

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6.6",
"fakerphp/faker": "^1.21.0",
"fakerphp/faker": "^1.23.0",
"laravel/pint": "^1.7",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^6.1",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4e8dd1

Please sign in to comment.