chore: Make dependencies more flexible for sqlmodel. (#97) #43
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 package for import errors and dependency installation | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
try-build: | |
name: Tries to build the package and import it | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install locally | |
run: python3 -m pip install . | |
- name: Test library import | |
run: cd / && python3 -c "from actual import Actual" |