diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 121f718..496a1fc 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -10,6 +10,35 @@ on: - cron: "0 8 * * 1" jobs: - coverage: - name: "Nette Tester" - uses: contributte/.github/.github/workflows/nette-tester-coverage.yml@v1 + tests: + name: "Nette Tester (8.1)" + runs-on: "ubuntu-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v3" + + - name: "PHP" + uses: "contributte/.github/.github/actions/setup-php@v1" + with: + php: "8.1" + + - name: "Composer" + uses: "contributte/.github/.github/actions/setup-composer@v1" + with: + command: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable" + + - name: "Run Nette Tester" + run: "make coverage" + + - name: "Setup upterm session" + uses: "lhotari/action-upterm@v1" + + - name: "Coveralls.io" + env: + CI_NAME: github + CI: true + COVERALLS_REPO_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + run: | + wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar + php php-coveralls.phar --verbose --config tests/.coveralls.yml