Skip to content

Commit

Permalink
Merge branch 'fastsim-3' of github.com:NREL/fastsim into add-battery-…
Browse files Browse the repository at this point in the history
…map-data

had to delete conflicting file
  • Loading branch information
calbaker committed Dec 5, 2024
2 parents 512601f + 1182867 commit 0f732e3
Show file tree
Hide file tree
Showing 20 changed files with 120 additions and 2,464 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build and Test

on: [push]

jobs:
build-and-test:
name: build ${{ matrix.python-version }} on ${{ matrix.platform || matrix.os }}
strategy:
fail-fast: true
matrix:
os:
- ubuntu
- macos
- windows
python-version:
- "3.8"
- "3.9"
- "3.10"
runs-on: ${{ format('{0}-latest', matrix.os) }}
steps:
- uses: actions/checkout@v4
- name: set up rust
uses: dtolnay/rust-toolchain@stable
- run: rustup target add aarch64-apple-darwin
if: matrix.os == 'macos'
- name: set up python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install python dependencies
run: python -m pip install --upgrade pip setuptools wheel pytest
- name: run cargo tests
run: cargo test
- name: install FASTSim python
run: pip install -e .[dev]
- name: run pytest
run: pytest -v
19 changes: 0 additions & 19 deletions .subtrees/ninterp/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions .subtrees/ninterp/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion .subtrees/ninterp/README.md

This file was deleted.

221 changes: 0 additions & 221 deletions .subtrees/ninterp/benches/benchmark.rs

This file was deleted.

42 changes: 0 additions & 42 deletions .subtrees/ninterp/src/error.rs

This file was deleted.

Loading

0 comments on commit 0f732e3

Please sign in to comment.