Skip to content

Instantly share code, notes, and snippets.

@mrgreyves
Created April 9, 2023 14:31
Show Gist options
  • Save mrgreyves/672c069ad58413a6978aed1aedbc59dc to your computer and use it in GitHub Desktop.
Save mrgreyves/672c069ad58413a6978aed1aedbc59dc to your computer and use it in GitHub Desktop.
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-03
path: "./otus-homeworks/"
- name: Run tests
run: curl https://raw.githubusercontent.com/express42/otus-homeworks/2023-03/run.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment