Skip to content

Do not run bonus part in non-bonus job #158

Do not run bonus part in non-bonus job

Do not run bonus part in non-bonus job #158

Workflow file for this run

name: schedule
on: [pull_request, push, workflow_dispatch]
jobs:
schedule:
runs-on: ubuntu-latest
env:
path: homework/schedule/build
steps:
- name: Check out code
uses: actions/checkout@master
- name: Create build directory
run: mkdir ${{ env.path }}
- name: Compile
working-directory: ${{ env.path }}
run: |
cmake ..
make
- name: Run tests
working-directory: ${{ env.path }}
run: ./schedule-ut
formatting-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check
uses: coders-school/github-actions/clang-format-check@main
with:
check_path: homework/schedule
exclude_dir: 'homework/schedule/tests/catch'