Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

ci: run ci when pushed to main #52

Merged
merged 2 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Bentoctl-CI

on:
push:
branches: [ protype ]
branches: [ main ]
pull_request:
branches: [ prototype ]
branches: [ main ]
# schedule:
# - cron '0 2 * * *'

Expand Down
9 changes: 0 additions & 9 deletions tests/test_operator_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,6 @@ def test_registry_remove(op_reg):
assert "testop" in op_reg.list()
op_reg.remove("testop")
assert "testop" not in op_reg.list()
assert testop_path.exists()
# clean up the testop dir inside BENTOCTL_HOME/operators
shutil.rmtree(testop_path)

# remove directory also
op_reg.add(TESTOP_PATH)
assert "testop" in op_reg.list()
op_reg.remove("testop", remove_from_disk=True)
assert "testop" not in op_reg.list()
assert not testop_path.exists()

with pytest.raises(OperatorNotFound):
Expand Down