Skip to content

Commit

Permalink
test only on ubuntu (#4)
Browse files Browse the repository at this point in the history
* test only on ubuntu

* add pyarrow test dep

* move mmdf import so deprecation warnings are caught
  • Loading branch information
alisterburt committed Jan 20, 2024
1 parent e9b7a59 commit f2f5a49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
platform: [ ubuntu-latest, ] # macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies = [
# "extras" (e.g. for `pip install .[test]`)
[project.optional-dependencies]
# add dependencies used for testing here
test = ["pytest", "pytest-cov"]
test = ["pytest", "pytest-cov", "pyarrow"]
# add anything else you like to have in your dev environment here
dev = [
"black",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_functions.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import warnings

import mmdf

with warnings.catch_warnings():
warnings.simplefilter("ignore", DeprecationWarning)
import pandas as pd

import mmdf


def test_read(test_pdb_file):
with warnings.catch_warnings():
Expand Down

0 comments on commit f2f5a49

Please sign in to comment.