ClickHouse usage analytics: events/gauges tables with daily MV #95
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Tests" | |
| on: [ pull_request ] | |
| jobs: | |
| lint: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 2 | |
| - run: git checkout HEAD^2 | |
| - name: Build | |
| run: | | |
| docker compose build | |
| docker compose up -d --wait | |
| - name: Run Tests | |
| run: docker compose exec usage vendor/bin/phpunit --configuration phpunit.xml tests |