Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasiliy Motchenko committed Oct 18, 2023
1 parent 2c6bd31 commit 57abc1c
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Set to true to add assignees to pull requests
addAssignees: true

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- mrgreyves
10 changes: 10 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 'Auto Assign'
on: pull_request

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
26 changes: 26 additions & 0 deletions .github/workflows/devops-2023-09-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run tests for OTUS homework

on:
push:
branches-ignore: main
pull_request:
branches-ignore: main

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout this repo
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Checkout repo with tests
uses: actions/checkout@v2
with:
repository: "express42/otus-homeworks"
ref: 2023-07
path: "./otus-homeworks/"

- name: Run tests
run: curl https://raw.githubusercontent.com/express42/otus-homeworks/2023-09/run.sh | bash

0 comments on commit 57abc1c

Please sign in to comment.