Skip to content

Commit

Permalink
Merge pull request #2 from openenergysolutions/OCP-2770-fix-CI
Browse files Browse the repository at this point in the history
Add non_snake_case for tests; fix CI
  • Loading branch information
keegit authored Jan 19, 2024
2 parents cf5b168 + e72555c commit 246af8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: [main]
jobs:
build:
runs-on: rust:1.74.0-bookworm
runs-on: ubuntu-22.04

steps:
- name: Checkout AltDSS-Rust
Expand Down
1 change: 1 addition & 0 deletions tests/parallel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ use std::process; // for exit

const REDIRECT_COMMAND: &str = "redirect ./electricdss-tst/Version8/Distrib/EPRITestCircuits/ckt5/Master_ckt5.dss";

#[allow(non_snake_case)]
fn solve_scenario(circ: &ICircuit, loadmult: f64) -> Result<(f64, f64), DSSError> {
// Solve a simple snapshot to reset most of the general state
circ.Solution.Set_Mode(SolveModes::SnapShot)?;
Expand Down

0 comments on commit 246af8f

Please sign in to comment.