Logo white

Peter M. Groen / CLI11

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • CLI11
  • .github
  • workflows
  • tests.yml
  • Adding github actions, precommit, and fix for travis ...
    4376990d
    Adding pre-commit files
    
    GitHub actions, and Python 3 on Travis
    
    Fix missing pip
    
    Adding pre-commit instructions
    
    Using bionic
    
    Fix
    
    Drop extra parts, add pip
    
    Setuptools
    Henry Fredrick Schreiner authored
    2019-10-24 19:07:01 -0400  
    Browse Code ยป
tests.yml 490 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
name: Tests
on: [push]

jobs:
  formatting:
    name: Formatting

    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-python@v1
        with:
          python-version: '3.7'
          architecture: 'x64'

      - name: Install pre-commit
        run: python -m pip install pre-commit

      - name: Run pre-commit
        run: pre-commit run --all

      - name: Display format changes
        run: git diff --exit-code
        if: always()