Skip to content

Commit

Permalink
Merge pull request #84 from broadinstitute/lihu/BITSDN-4144
Browse files Browse the repository at this point in the history
feat: add 'make-ci' workflow
  • Loading branch information
lbenezriravin authored Aug 12, 2024
2 parents ba1a1e2 + 18320b9 commit 4d7f450
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/python-make-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Make CI

'on':
workflow_call:
inputs:
timeout_minutes:
description: The maximum time (in minutes) for a job to run.
default: 10
required: false
type: number

jobs:
make-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22.x"
- name: Install prettier
run: yarn add prettier@3
- name: Put node executables in the system PATH
run: echo -n "$(yarn bin)" >> $GITHUB_PATH
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: poetry
python-version: "3.12"
- name: Install package
run: poetry install
- name: Run all CI
run: make ci
timeout-minutes: ${{ inputs.timeout_minutes }}

0 comments on commit 4d7f450

Please sign in to comment.