Introduce USet and UInterval classes with withrepr decorator #147
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: Test with UnitTest | |
on: | |
push: | |
paths: | |
- '**.py' | |
- '.github/workflows/**' | |
- 'requirements.txt' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- '**.py' | |
- '.github/workflows/**' | |
- 'requirements.txt' | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12.1" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Test with UnitTest | |
run: | | |
python -m unittest $(git ls-files 'tests/*.py') |