This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
Bump pip from 9.0.3 to 23.3 #28
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
on: pull_request | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup python 3.6 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.6 | |
- name: Install pre-commit | |
run: pip install pre-commit | |
- name: Run pre-commit | |
run: pre-commit run --all-files | |
license-check: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Ruby 2.x | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: 2.x | |
- name: Install license finder | |
run: gem install license_finder | |
- name: Setup python 3.6 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.6 | |
- name: Install apt dependencies | |
run: sudo apt-get install -y python3-dev openssl libssl-dev gcc pkg-config libffi-dev libxml2-dev libxmlsec1-dev | |
- name: Install dependencies | |
run: pip install -r piptools_requirements3.txt && pip install -r requirements3.txt | |
- name: Run license finder | |
run: license_finder | |
test: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup python 3.6 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.6 | |
- name: Install apt dependencies | |
run: sudo apt-get install -y python3-dev openssl libssl-dev gcc pkg-config libffi-dev libxml2-dev libxmlsec1-dev | |
- name: Install dependencies | |
run: pip install -r piptools_requirements3.txt && pip install -r requirements3.txt | |
- name: Run tests | |
run: make test |