diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54f186d..15a6590 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,15 +5,6 @@ on: [push] jobs: build: runs-on: ubuntu-latest - services: - redis: - image: redis - ports: ["6379:6379"] - options: >- - --health-cmd "redis-cli ping" - --health-interval 10s - --health-timeout 5s - --health-retries 5 steps: - uses: actions/checkout@v2 - name: Set up Python 3.8 @@ -35,12 +26,3 @@ jobs: TEST_BITBUCKET_API_USERNAME: ${{ secrets.TEST_BITBUCKET_API_USERNAME }} TEST_BITBUCKET_API_PASSWORD: ${{ secrets.TEST_BITBUCKET_API_PASSWORD }} TEST_GITHUB_API_TOKEN: ${{ secrets.TEST_GITHUB_API_TOKEN }} - - name: Install commitstat - run: curl https://raw.githubusercontent.com/dropseed/commitstat/master/install.sh | bash -s -- -b $HOME/bin - - name: Run commitstat - if: ${{ !startsWith(github.ref, 'refs/tags/') }} - run: | - $HOME/bin/commitstat .reports/mypy/index.txt --regex "\| Total\s*\|\s*([\d\.]+%)" --goal decrease --name mypy - $HOME/bin/commitstat .reports/pytest/index.html --regex "(\d+%)<\/span>" --goal increase --name pytest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}