Modernize package (#81) #110
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: Tests | |
on: | |
push: | |
env: | |
PYTHON_VERSION: "3.12" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codebase | |
uses: actions/checkout@v4 | |
- name: Install hatch | |
run: pipx install hatch | |
- name: Generate Constraints file | |
run: make constraints-mxdev.txt | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: 'pip' | |
- name: "Install Environment" | |
run: hatch env create | |
- name: "Test Codebase" | |
run: hatch run test |