diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb54150ce4..334bf91dfa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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