Precommit: ensure executable bit is set #193
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |