Fix behave tests by patching shutil.copy alongside shutil.copyfile #209
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Run Behavioral Tests | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| behave: | |
| name: Run behave tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4.1.1 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/setup-python@v5.1.0 | |
| with: | |
| python-version: "3.x" | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install '.[dev]' | |
| python3 -m pip install coverage | |
| - name: Run tests | |
| run: | | |
| python3 -m coverage run -m behave | |
| - name: Report test coverage | |
| run: | | |
| python3 -m coverage report |