Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
5 changes: 1 addition & 4 deletions .github/actions/setup-nix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ runs:
uses: nix-community/cache-nix-action@b426b118b6dc86d6952988d396aa7c6b09776d08 # v7
with:
primary-key: nix-${{ runner.os }}

- name: Load Nix development environment
shell: bash
run: nix develop --command true
gc-max-store-size: 4G
19 changes: 4 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.13"]
include:
- python-version: "3.11"
sync-extras: "--all-extras"
- python-version: "3.13"
sync-extras: "--all-extras"
python-version: ["python311", "python313"]
env:
STACKONE_API_KEY: ${{ secrets.STACKONE_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand All @@ -52,17 +47,14 @@ jobs:
- name: Setup Nix
uses: ./.github/actions/setup-nix

- name: Install dependencies
run: nix develop --command just install ${{ matrix.sync-extras }}

- name: Run Lint
run: nix develop --command just lint
run: nix develop .#${{ matrix.python-version }} --command just lint

- name: Run Ty
run: nix develop --command just ty
run: nix develop .#${{ matrix.python-version }} --command just ty

- name: Run Tests
run: nix develop --command just test
run: nix develop .#${{ matrix.python-version }} --command just test

coverage:
runs-on: ubuntu-latest
Expand All @@ -79,9 +71,6 @@ jobs:
- name: Setup Nix
uses: ./.github/actions/setup-nix

- name: Install dependencies
run: nix develop --command just install --all-extras

- name: Run Tests with Coverage
run: nix develop --command just coverage

Expand Down
102 changes: 87 additions & 15 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading