Add new test test_should_return_last_for_nonempty_directory_files #51
Workflow file for this run
This file contains 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 Unit Tests | |
on: | |
push | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Installing dependencies | |
run: pip install --upgrade pip black --quiet | |
- name: Style check | |
run: black . --check | |
- name: Install module | |
run: pip install -e . | |
- name: Running tests | |
run: python -m unittest discover -s tests -p *_test.py |