Skip to content

build: Bump urllib3 from 2.5.0 to 2.6.0 #169

build: Bump urllib3 from 2.5.0 to 2.6.0

build: Bump urllib3 from 2.5.0 to 2.6.0 #169

name: Pull request workflow
on:
pull_request:
# Defaults are opened, reopened, synchronize
types: [opened, ready_for_review, reopened, synchronize]
branches:
- 'master'
tags-ignore:
- '*.*'
jobs:
check-dependencies:
# Filter out Draft Pull Requests
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
container: qctrl/ci-images:python-3.11-ci
steps:
- uses: actions/checkout@v4
- name: Download CI tool
shell: bash
run: |
curl -sSL http://ci.q-ctrl.com | bash -
- name: Ensure no development packages have been set
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
/scripts/check-for-internal-versions.sh
linting:
# Filter out PRs originating from this repository (triggers on-push.yml instead)
if: github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest
container: qctrl/ci-images:python-3.11-ci
steps:
- uses: actions/checkout@v4
- name: Download CI tool
shell: bash
run: |
curl -sSL http://ci.q-ctrl.com | bash -
- name: Install Python dependencies
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
/scripts/install-python-dependencies.sh
- name: Run Pre-Commit
run: |
poetry run pre-commit run -- -a
pytest:
# Filter out PRs originating from this repository (triggers on-push.yml instead)
if: github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest
container: qctrl/ci-images:python-${{ matrix.python }}-ci
strategy:
matrix:
python: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Download CI tool
shell: bash
run: |
curl -sSL http://ci.q-ctrl.com | bash -
- name: Install Python dependencies
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
/scripts/install-python-dependencies.sh
- name: Run Pytest
run: |
/scripts/pytest.sh
sphinx_documentation:
# Filter out PRs originating from this repository (triggers on-push.yml instead)
if: github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Sphinx Image
run: |
docker build -f ./docs/Dockerfile