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

Added GitHub workflow for tests in Postgres #14843

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

marcusmoore
Copy link
Collaborator

@marcusmoore marcusmoore commented Jun 6, 2024

Description

This PR adds a GitHub workflow to run the test suite in Postgres. (Keeping in mind Postgres is not officially supported)

Unlike our existing testing Actions that run on PR opening, commits to open PRs, or merges to develop and master I set this one to run when manually triggered. This because I don't want our PR and commits lists to be full of ❌s in addition to flooding author notifications due to failing tests due to an unsupported database.


Until the artifacts are purged, the tests are are failing in are viewable here.


Type of change

  • Chore

@marcusmoore marcusmoore requested a review from snipe as a code owner June 6, 2024 20:32
@marcusmoore marcusmoore marked this pull request as draft June 6, 2024 20:32
Copy link

what-the-diff bot commented Jun 6, 2024

PR Summary

  • Introduction of a New Automated Testing Process
    We have added a new file called '.github/workflows/tests-postgres.yml'. It establishes a standardized testing procedure for our code, checking its compatibility with the Postgres database.

  • Applicable Triggers
    The new testing process will run after changes are made and committed to the master and develop branches. It will also trigger in response to newly submitted pull requests.

  • Environment and Tools Used
    The automated tests are designed to operate on the most recent Ubuntu operating system. They connect to a Postgres service container for database interaction and utilize PHP version 8.2.

  • Test Workflow Steps
    The steps involve setting up PHP, integrating the code in the project, caching Composer dependencies, arranging .env files, installing dependencies, configuring Laravel, and carrying out tests with PHPUnit.

  • Database Connection Information
    The necessary setup details for connecting to the Postgres database are specified within the test steps.

@marcusmoore marcusmoore marked this pull request as ready for review June 10, 2024 17:53
@snipe snipe merged commit 16cf6bc into snipe:develop Jun 12, 2024
8 checks passed
@marcusmoore marcusmoore deleted the chore/sc-25767 branch June 12, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants