feat: add license and CODE_OF_CONDUCT #20
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: Update pip | |
run: pip install -U pip | |
- name: Install with development dependencies | |
run: pip install .[dev] | |
- name: Check with pre-commit | |
run: pre-commit run --all-files | |
- name: Test | |
run: pytest |