diff --git a/.github/workflows/dependent-tests.yml b/.github/workflows/dependent-tests.yml deleted file mode 100644 index aca79d59..00000000 --- a/.github/workflows/dependent-tests.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Dependent tests - -on: - pull_request: - branches: - - main - - feature/** - -permissions: - contents: read - -jobs: - build: - - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.9", "3.10", "3.11"] - dependent: - - amazon-braket-pennylane-plugin-python - - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - pip install --upgrade pip - pip install --upgrade git+https://github.com/aws/amazon-braket-schemas-python.git@main - pip install --upgrade git+https://github.com/aws/amazon-braket-default-simulator-python.git@main - pip install -e . - cd .. - git clone https://github.com/aws/${{ matrix.dependent }}.git - cd ${{ matrix.dependent }} - # Update the amazon-braket-sdk dependency to reference the current commit - python ${GITHUB_WORKSPACE}/.github/scripts/update_dependency.py - pip install -e .[test] - - name: Run unit tests - run: | - cd ../${{ matrix.dependent }} - pytest diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8992e2f2..749aa43f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -36,8 +36,6 @@ jobs: run: | tox -e unit-tests - name: Run AutoQASM example notebooks - # NOTE: Do not merge this part to main. The AutoQASM example notebooks should be moved - # to the example notebooks repo rather than living in the Braket SDK repo. run: | pip install -e . pip install notebook matplotlib