Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better event interface #379

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
- uses: actions/checkout@v3

- name: Get development docker compose file
run: cd .. && wget https://raw.githubusercontent.com/Helioviewer-Project/helioviewer.org-docker/main/compose.yaml
run: |
cd ..
wget https://raw.githubusercontent.com/Helioviewer-Project/helioviewer.org-docker/main/compose.yaml
wget https://raw.githubusercontent.com/Helioviewer-Project/helioviewer.org-docker/main/.env.example
mv .env.example .env

# The containers need to be able update config files
- name: Make writeable config files
Expand All @@ -29,12 +33,15 @@ jobs:
chmod o+rw settings/Config.php

# Start up api service (test environment)
# Start up cli service (installs test data)
- name: Start services
# --no-build to force it to use whatever is published in the registry
# -d to detach, so the command returns
# --wait to wait for containers to be healthy, meaning the test data is downloaded and ready
run: cd .. && docker compose up --no-build -d --wait api cli
run: cd .. && docker compose up --no-build --wait api

- name: Print container logs logs
if: always()
run: docker logs helioviewer-api-1

# Run the tests inside the api container
- name: Run phpunit tests
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"require": {
"helioviewer/event-interface": "dev-main",
"helioviewer/event-interface": "v0.1.0",
"matomo/device-detector": "dev-master"
},
"require-dev": {
Expand Down
Loading
Loading