Skip to content

Commit 8386755

Browse files
author
Daniel Mellum
committed
testing the testing with github action
1 parent e8ac379 commit 8386755

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/docker.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
docker:
1313
timeout-minutes: 15
1414
runs-on: ubuntu-latest
15+
container: ghcr.io/danielme85/lltdb-testbench:latest
1516

1617
steps:
1718
- name: Checkout
@@ -20,8 +21,11 @@ jobs:
2021
- name: Start containers
2122
run: docker-compose up -d mariadb mongo
2223

23-
- name: Start test container
24-
run: docker-compose up php8
24+
- name: Install composer packages
25+
run: cd /var/testing && composer install --no-interaction
26+
27+
- name: Run tests
28+
run: cd /var/testing && dockerize -wait tcp://mariadb:3306 -timeout 1m && ./vendor/bin/testbench package:test
2529

2630
- name: Cleanup containers
2731
run: docker-compose down

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![PHP from Packagist](https://img.shields.io/packagist/php-v/danielme85/laravel-log-to-db.svg?style=flat-square)](https://packagist.org/packages/danielme85/laravel-log-to-db)
44
[![GitHub release](https://img.shields.io/github/release/danielme85/laravel-log-to-db.svg?style=flat-square)](https://packagist.org/packages/danielme85/laravel-log-to-db)
55
[![GitHub tag](https://img.shields.io/github/tag/danielme85/laravel-log-to-db.svg?style=flat-square)](https://github.com/danielme85/laravel-log-to-db)
6-
[![CircleCi](https://img.shields.io/circleci/build/github/danielme85/laravel-log-to-db?style=flat-square)](https://app.circleci.com/pipelines/github/danielme85/laravel-log-to-db)
6+
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/danielme85/laravel-log-to-db/TestInDocker?style=flat-square)
77
[![Codecov](https://img.shields.io/codecov/c/github/danielme85/laravel-log-to-db.svg?style=flat-square)](https://codecov.io/gh/danielme85/laravel-log-to-db)
88
[![CodeFactor](https://img.shields.io/codefactor/grade/github/danielme85/laravel-log-to-db?style=flat-square)](https://www.codefactor.io/repository/github/danielme85/laravel-log-to-db)
99

0 commit comments

Comments
 (0)