Skip to content
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
14 changes: 9 additions & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,18 @@ jobs:

steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
if: ${{runner.os != 'Windows' }}
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install openEMS for linux
if: ${{runner.os != 'Windows' }}
run: |
sudo apt-get update
sudo apt-get install -y nix
sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
sudo nix-channel --update
sudo nix-env -iA nixpkgs.openems
nix-channel --list
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
nix-channel --update
nix-env -iA nixpkgs.openems
which openEMS
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Set up Python
Expand Down