Merge pull request #69 from Pennycook/fix-deprecation-warnings #12
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: CBI unittest | |
permissions: read-all | |
on: | |
push: | |
branches: [ "main" ] | |
paths: | |
- 'bin/**' | |
- 'codebasin/**' | |
- 'etc/**' | |
- 'tests/**' | |
- 'MANIFEST.in' | |
- 'setup.py' | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- 'bin/**' | |
- 'codebasin/**' | |
- 'etc/**' | |
- 'tests/**' | |
- 'MANIFEST.in' | |
- 'setup.py' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# currently just one version, but later releases can be | |
# added as they're needed | |
python-version: ["3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install `code-base-investigator` | |
run: | | |
python -m pip install -U pip | |
pip install . | |
- name: Run `unittest` | |
run: | | |
python -m unittest |