Skip to content

Commit

Permalink
docs: add initial README.md, workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sazanik committed Nov 14, 2024
0 parents commit bbc9322
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Automatic tests

After completing all the steps in the project, automatic tests will become available to you. Tests are run on each commit - once all tasks in the Hexlet interface are completed, make a commit, and the tests will run automatically.

The hexlet-check.yml file is responsible for running these tests - do not delete this file, edit it, or rename the repository.
24 changes: 24 additions & 0 deletions .github/workflows/hexlet-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
##########################################################################
# DO NOT DELETE OR EDIT THIS FILE #
# This file is automatically generated and used to run tests #
##########################################################################

name: hexlet-check

on:
push:
branches:
- '**'
tags:
- '**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Hexlet project check
uses: hexlet/project-action@release
with:
hexlet-id: ${{ secrets.HEXLET_ID }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Hexlet tests and linter status:
[![Actions Status](https://github.com/sazanik/frontend-project-46/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/sazanik/frontend-project-46/actions)

0 comments on commit bbc9322

Please sign in to comment.