dev(hansbug): use version v0.2.0 #176
This file contains hidden or 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: Code Lint | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| name: Run code lint | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, 'ci skip')" | |
| strategy: | |
| matrix: | |
| python-version: | |
| - '3.8' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 20 | |
| - name: Set up python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install -y tree make wget curl cloc graphviz | |
| dot -V | |
| pip install --upgrade pip | |
| pip install --upgrade setuptools wheel twine | |
| pip install -r requirements.txt | |
| pip install -r requirements-test.txt | |
| pip install -r requirements-lint.txt | |
| - name: Basic lint with flake8 | |
| run: | | |
| make flake |