Skip to content

Commit

Permalink
Remove source directory after installation on CI to ensure that packa…
Browse files Browse the repository at this point in the history
…ge from installation directory is used
  • Loading branch information
francesco-ballarin committed Nov 1, 2023
1 parent 5078375 commit a50b164
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ jobs:
if: startsWith(matrix.backend, 'none') != true
run: |
cd docs && make html
- name: Remove source directory to ensure that package from installation directory is used
run: |
rm -rf rbnicsx
- name: Determine coverage and pytest options for unit tests
id: unit_options
run: |
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ line_length = 120
multi_line_output = 4
order_by_type = false
combine_as_imports = true
known_first_party = ["rbnicsx"]

[tool.mypy]
check_untyped_defs = true
Expand Down

0 comments on commit a50b164

Please sign in to comment.