9 Commits

Author SHA1 Message Date
Jon Grace-Cox
25cdd6912b test: Add xml output to invoke test execution 2025-01-11 14:56:19 -08:00
Jon Grace-Cox
575833bf19 test: Ensure tests run against correct version
Update the `inv --test.local` command to ensure that tests are run against
the correct version of the package. The invoke command has been updated to:

- Ensure the `anybadge` command is not available on the system to start with

- Ensure `pip` is available

- Pip install the local project

- Run tests

- Pip uninstall `anybadge`

The net result is that invoke will be more robust in terms of making sure the
installed version is in sync when running CLI tests.
2025-01-11 14:56:19 -08:00
Jon Grace-Cox
6199d65ee7 fix: Fix invoke when anybadge not installed 2025-01-11 14:56:19 -08:00
Jon Grace-Cox
96d102f307 test: Run cli checks in PR workflow
Simplify execution of CLI tests and run them in the CI workflow after
Python tests.
2024-12-30 07:30:11 -05:00
Jon Grace-Cox
a076a4867a chore: Update pre-commit hooks
Update pre-commit hooks to latest version and apply fixes for
mypy type checking and linting.
2024-12-30 06:46:24 -05:00
Jon Grace-Cox
cb40df6d11 Refactor invoke tasks (#80)
- Add `--version` to cli
- Add invoke tasks:
  - `package.build`
  - `package.install`
  - `test.cli`
- Refactor invoke task implementation
- Refactor `run_pypi_tests.sh`
- Split into separate files to support running locally
2022-08-24 17:05:55 -04:00
Jon Grace-Cox
2af319bc6b Add standard color names (#76)
Closes #56
2022-08-15 14:43:27 -04:00
Jon Grace-Cox
ea2eccd948 Add testing for PyPi releases (#72) 2022-08-13 15:35:46 -04:00
Jon Grace-Cox
1c986d4ad8 Add package testing to CI (#68)
* Make `build_examples.py` callable from python
* Allow tests to run from outside project directory
* Add invoke tasks
* Add server tests
* Run travis tests against wheel package instead of local code
* Update `badge.write_badge()` to support `pathlib.Path`
* Update `CONTRIBUTING.md`
2022-08-13 13:22:15 -04:00