diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c38a039..12c9a11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,11 @@ name: ci -on: [push, pull_request] +on: + push: + # only pushes to main trigger + branches: [main] + pull_request: + # always triggered jobs: diff --git a/examples/example_01.py b/examples/example_01.py index b11401d..e0d9c05 100644 --- a/examples/example_01.py +++ b/examples/example_01.py @@ -22,9 +22,7 @@ def test_run(diff_code): if not diff_code: # get code computer = helpers.get_computer() - diff_code = helpers.get_code( - entry_point='diff', computer=computer - ) + diff_code = helpers.get_code(entry_point='diff', computer=computer) # Prepare input parameters diff_parameters = DataFactory('diff')