Skip to content

Precommit: ensure executable bit is set #191

Precommit: ensure executable bit is set

Precommit: ensure executable bit is set #191

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build docker image
run: docker build -t rednose .
- name: Static analysis
run: |
docker run rednose bash -c "git init && git add -A && pre-commit run --all"
- name: Unit Tests
run: docker run rednose bash -c "cd /project/examples; python -m unittest discover"