Skip to content

Instantly share code, notes, and snippets.

@mrgreyves
Last active February 5, 2023 13:23
Show Gist options
  • Save mrgreyves/33e607ca9d1bd093366335b5b4dc1b22 to your computer and use it in GitHub Desktop.
Save mrgreyves/33e607ca9d1bd093366335b5b4dc1b22 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@v3
with:
ref: ${{ github.ref }}
- name: Checkout repo with tests
uses: actions/checkout@v3
with:
repository: "express42/otus-homeworks"
ref: 2023-01
path: "./otus-homeworks/"
- name: Run tests
run: curl https://raw.githubusercontent.com/express42/otus-homeworks/2023-01/run.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment