Skip to content

Dump Issue#477

Dump Issue#477 #781

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8.x
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Run checks
run: make check
env:
SECRET_KEY: secret
GITHUB_AUTH_TOKEN: secret
GITHUB_WEBHOOK_TOKEN: secret
DB_ENGINE: SQLite
- name: Publish code coverage report
if: github.event_name == 'push' && github.repository == 'hexlet/hexlet-friends'
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: make test-coverage-report-xml