Skip to content

Commit

Permalink
Revert workflow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGardhouse committed Jan 20, 2025
1 parent 4417c2e commit 9b80be7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 46 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,8 @@ jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
honeywell:
- pennylane_honeywell/**
- tests/**
- .pylintrc
- Makefile
- requirements-ci.txt
- requirements.txt
- setup.py
- uses: actions/checkout@v1
- name: Black Code Formatter
if: steps.filter.outputs.honeywell == 'true'
uses: lgeiger/black-action@master
with:
args: "-l 100 pennylane_honeywell/ --check"
17 changes: 0 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,24 @@ jobs:
uses: styfle/cancel-workflow-action@0.4.1
with:
access_token: ${{ github.token }}
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
honeywell:
- pennylane_honeywell/**
- tests/**
- .pylintrc
- Makefile
- requirements-ci.txt
- requirements.txt
- setup.py

- uses: actions/checkout@v1
- name: Set up Python
if: steps.filter.outputs.honeywell == 'true'
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
if: steps.filter.outputs.honeywell == 'true'
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci.txt
pip install wheel pytest pytest-cov pytest-mock --upgrade
- name: Install Plugin
if: steps.filter.outputs.honeywell == 'true'
run: |
python setup.py bdist_wheel
pip install dist/PennyLane*.whl
- name: Run tests
if: steps.filter.outputs.honeywell == 'true'
run: python -m pytest tests --cov=pennylane_honeywell --cov-report=term-missing --cov-report=xml -p no:warnings --tb=native
- name: Upload coverage to Codecov
if: steps.filter.outputs.honeywell == 'true'
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
15 changes: 0 additions & 15 deletions codecov.yml

This file was deleted.

0 comments on commit 9b80be7

Please sign in to comment.