Skip to content

add installation script using pipx #271

add installation script using pipx

add installation script using pipx #271

Workflow file for this run

name: PR
on: pull_request
jobs:
test-dotrun-ubuntu:
runs-on: ubuntu-latest
name: Test dotrun on Ubuntu (snapcraft.io project)
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dotrun
run: |
pip3 install . requests==2.31.0
- name: Install newest version of curl for --retry-all-errors support
run: sudo snap install curl
- name: Test snapcraft.io
run: |
git clone https://github.com/canonical-web-and-design/snapcraft.io
chmod -R 777 snapcraft.io
cd snapcraft.io
dotrun & sleep 10 && /snap/bin/curl --head --fail --retry-delay 10 --retry 30 --retry-all-errors http://localhost:8004
lint-python:
runs-on: ubuntu-latest
name: Lint python
steps:
- uses: actions/checkout@v2
- name: Install system dependencies
run: |
python3 -m pip install --upgrade pip
sudo pip3 install flake8 black
- name: Lint Python
run: flake8 . && black --line-length 79 --check .
check-inclusive-naming:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check inclusive naming
uses: canonical-web-and-design/inclusive-naming@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
fail-on-error: true