Skip to content

Commit

Permalink
Disable lint and docs CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wshanks committed Oct 14, 2024
1 parent 6355b09 commit c041c21
Showing 1 changed file with 51 additions and 51 deletions.
102 changes: 51 additions & 51 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,54 +61,54 @@ jobs:
- name: Clean up stestr cache
run: stestr history remove all

lint:
if: github.repository_owner == 'Qiskit-Community'
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-lint-${{ hashFiles('setup.py','requirements.txt','requirements-extras.txt','requirements-dev.txt','constraints.txt') }}
- name: Install Deps
run: python -m pip install -U tox
- name: Run lint
run: tox -elint
docs:
if: github.repository_owner == 'Qiskit-Community'
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-docs-${{ hashFiles('setup.py','requirements.txt','requirements-extras.txt','requirements-dev.txt','constraints.txt') }}
- name: Install Deps
run: |
python -m pip install -U tox
sudo apt-get install -y pandoc graphviz
- name: Build Docs
run: tox -edocs-parallel
- name: Compress Artifacts
run: |
mkdir artifacts
tar -Jcvf html_docs.tar.xz docs/_build/html
mv html_docs.tar.xz artifacts/.
- uses: actions/upload-artifact@v4
with:
name: html_docs
path: artifacts
# lint:
# if: github.repository_owner == 'Qiskit-Community'
# name: lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python 3.9
# uses: actions/setup-python@v5
# with:
# python-version: 3.9
# - name: Pip cache
# uses: actions/cache@v4
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-lint-${{ hashFiles('setup.py','requirements.txt','requirements-extras.txt','requirements-dev.txt','constraints.txt') }}
# - name: Install Deps
# run: python -m pip install -U tox
# - name: Run lint
# run: tox -elint
# docs:
# if: github.repository_owner == 'Qiskit-Community'
# name: docs
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Set up Python 3.12
# uses: actions/setup-python@v5
# with:
# python-version: 3.12
# - name: Pip cache
# uses: actions/cache@v4
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-docs-${{ hashFiles('setup.py','requirements.txt','requirements-extras.txt','requirements-dev.txt','constraints.txt') }}
# - name: Install Deps
# run: |
# python -m pip install -U tox
# sudo apt-get install -y pandoc graphviz
# - name: Build Docs
# run: tox -edocs-parallel
# - name: Compress Artifacts
# run: |
# mkdir artifacts
# tar -Jcvf html_docs.tar.xz docs/_build/html
# mv html_docs.tar.xz artifacts/.
# - uses: actions/upload-artifact@v4
# with:
# name: html_docs
# path: artifacts

0 comments on commit c041c21

Please sign in to comment.