Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add job to try and build and import package #41

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/try-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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"
Loading