123456789101112131415161718192021 |
- name: Koseven
- on: [push,pull_request]
- jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v1
- - name: Download current Docker-Image
- run: docker pull koseven/docker:travis-devel
- - name: Mount Directories and run Docker-Machine
- run: docker run -dtP --name unittest -v /home/runner/work/koseven/koseven:/tmp/koseven/ koseven/docker:travis-devel
- - name: Install composer dependencies
- run: docker exec unittest /bin/sh -c "service redis-server start; cd /tmp/koseven; composer install"
- - name: Run Koseven Unittest(s)
- run: docker exec unittest /bin/sh -c "cd /tmp/koseven; php vendor/bin/phpunit"
|