Updated README with COPR instructions. (#53) #21
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: Black, Flake, Tests | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - 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 install libcairo2-dev libgirepository1.0-dev | |
| python -m pip install --upgrade pip | |
| pip install pipenv | |
| pipenv install --dev | |
| - name: Run black | |
| run: pipenv run black | |
| - name: Run flake8 | |
| run: pipenv run flake | |
| - name: Run tests | |
| run: pipenv run test |