Skip to content

Comments

This commit introduces a README.md file, unit tests, and a GitHub Act…#1

Merged
manupawickramasinghe merged 1 commit intomainfrom
feature/readme-tests-workflow
Aug 19, 2025
Merged

This commit introduces a README.md file, unit tests, and a GitHub Act…#1
manupawickramasinghe merged 1 commit intomainfrom
feature/readme-tests-workflow

Conversation

@manupawickramasinghe
Copy link
Member

…ions workflow for the network scanner script.

  • Adds a README.md with instructions on how to use the script.
  • Adds a requirements.txt file for easy dependency installation.
  • Implements unit tests for the is_reachable function using Python's unittest framework.
  • Mocks the subprocess.Popen call to avoid actual network activity during tests.
  • Sets up a GitHub Actions workflow to automatically run tests on push and pull requests to the main branch.
  • Adds a .gitignore file to exclude Python cache files and virtual environments from version control.

…ions workflow for the network scanner script.

- Adds a `README.md` with instructions on how to use the script.
- Adds a `requirements.txt` file for easy dependency installation.
- Implements unit tests for the `is_reachable` function using Python's `unittest` framework.
- Mocks the `subprocess.Popen` call to avoid actual network activity during tests.
- Sets up a GitHub Actions workflow to automatically run tests on push and pull requests to the main branch.
- Adds a `.gitignore` file to exclude Python cache files and virtual environments from version control.
@manupawickramasinghe manupawickramasinghe merged commit 64fab77 into main Aug 19, 2025
1 check passed
@manupawickramasinghe manupawickramasinghe deleted the feature/readme-tests-workflow branch August 19, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant