This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
Bump pre-commit/action from 3.0.0 to 3.0.1 #455
Workflow file for this run
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
name: Satellite-Upgrade - CI | |
on: | |
pull_request: | |
types: ["opened", "synchronize", "reopened"] | |
env: | |
PYCURL_SSL_LIBRARY: gnutls | |
jobs: | |
codechecks: | |
name: Code Quality | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
steps: | |
- name: Checkout satellite6-upgrade | |
uses: actions/checkout@v4 | |
- 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 --fix-missing | |
sudo apt-get install -y libgnutls28-dev libcurl4-openssl-dev libssl-dev | |
pip install -r requirements.txt -r requirements-optional.txt | |
for config in conf/*.yaml.template; do mv -- "$config" "${config%.template}"; done | |
- name: Pre Commit Checks | |
uses: pre-commit/[email protected] | |
- name: Upgrade Test Coverage (Existence Test) | |
run: py.test --cov=upgrade_tests/helpers upgrade_tests/helpers/coverme.py | |
- name: Make Docs | |
run: | | |
make test-docstrings | |
make docs |