Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed May 16, 2024
1 parent 9030f99 commit 600c2de
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/internals.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Internals

## Github actions

All our packages have github actions by default, so you can test your [contribution](https://github.com/yiisoft/db/blob/master/.github/CONTRIBUTING.md) in the cloud.

> Note: We recommend pull requesting in draft mode until all tests pass.
## Unit testing

This package can be tested globally or individually for each DBMS.
Expand All @@ -10,12 +16,6 @@ This package can be tested globally or individually for each DBMS.
- [PostgreSQL](https://github.com/yiisoft/db-pgsql)
- [SQLite](https://github.com/yiisoft/db-sqlite)

### Github actions

All our packages have github actions by default, so you can test your [contribution](https://github.com/yiisoft/db/blob/master/.github/CONTRIBUTING.md) in the cloud.

> Note: We recommend pull requesting in draft mode until all tests pass.
### Docker images

For greater ease it is recommended to use Docker containers for each DBMS, for this you can use the [docker-compose.yml](https://docs.docker.com/compose/compose-file/) file that in the root directory of each package.
Expand All @@ -34,7 +34,7 @@ docker compose up -d

### Global testing

The package is tested with [PHPUnit](https://phpunit.de/). To run tests:
The following steps are required to run the tests.

1. Run all Docker containers for each DBMS.
2. Install the dependencies of the project with composer.
Expand All @@ -46,7 +46,7 @@ The package is tested with [PHPUnit](https://phpunit.de/). To run tests:

### Individual testing

The package is tested with [PHPUnit](https://phpunit.de/). To run tests:
The following steps are required to run the tests.

1. Run the Docker container for the dbms you want to test.
2. Install the dependencies of the project with composer.
Expand Down

0 comments on commit 600c2de

Please sign in to comment.