Skip to content

Commit

Permalink
Add workflow to test minimal dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Nov 12, 2024
1 parent dda606f commit 6a0e672
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test-kr8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ concurrency:
cancel-in-progress: true

jobs:
deps:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
- name: Install kr8s
run: pip install -e .
- name: Ensure kr8s works
run: python -c "import kr8s; print(kr8s.get('nodes'))"
test:
runs-on: ubuntu-latest
timeout-minutes: 45
Expand Down

0 comments on commit 6a0e672

Please sign in to comment.