diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a3bfbdf..2aa35bac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Run tests & Public to Docker Registry +name: Run tests & Publish to Docker Registry on: [push, pull_request] @@ -48,7 +48,7 @@ jobs: - uses: actions/cache@v1 with: path: ~/.cache/poetry - key: ${{ runner.os }}-poetry-${{ hashFiles('**/peotry.lock') }} + key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} restore-keys: | ${{ runner.os }}-poetry- @@ -63,7 +63,6 @@ jobs: poetry run black --check . flake8 - - name: Test with pytest run: | pytest --cov=. --cov-report=term:skip-covered --cov-report=html:htmlcov --cov-fail-under=60 @@ -97,4 +96,4 @@ jobs: with: to: ${{ secrets.TELEGRAM_TO }} token: ${{ secrets.TELEGRAM_TOKEN }} - args: Docker image pushed on ${{ github.ref }} \ No newline at end of file + args: Docker image pushed on ${{ github.ref }}