Skip to content

Commit

Permalink
Merge pull request #46 from IMMM-SFA/feature/windows-action
Browse files Browse the repository at this point in the history
Add GitHub action for Windows build
  • Loading branch information
crvernon authored Feb 20, 2024
2 parents 6af0e15 + cefa98f commit 39155ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]

env:
OS: ${{ matrix.os }}
Expand Down
3 changes: 2 additions & 1 deletion statemodify/tests/test_modify.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import unittest
from pathlib import Path

Expand Down Expand Up @@ -107,7 +108,7 @@ def test_construct_outfile_name(self):
scenario="test",
sample_id=0)

self.assertEqual(str(self.COMP_FILE.absolute()), f)
self.assertEqual(self.COMP_FILE.name, os.path.basename(f))

def test_construct_data_string(self):
"""Tests for construct_data_string function."""
Expand Down

0 comments on commit 39155ef

Please sign in to comment.