Skip to content

OTWO-6969 Store commit_sha instead of diffs in logfile #27

OTWO-6969 Store commit_sha instead of diffs in logfile

OTWO-6969 Store commit_sha instead of diffs in logfile #27

Workflow file for this run

name: CI Pipeline
on:
pull_request:
types:
- opened
- synchronize
push:
branches: [main]
jobs:
ci_task:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run rubocop and tests
run: |
docker pull ohdeployer/ohloh_scm:latest
cmd='/etc/init.d/ssh start; bundle exec rubocop; rake test 2> /dev/null'
docker run --rm -P -v $(pwd):/home/app/ohloh_scm -i ohdeployer/ohloh_scm:latest /bin/sh -c "$cmd"