Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed Jan 2, 2024
1 parent b232845 commit 4690e26
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .github/workflows/continous_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,27 @@ name: tests
on:
push:
schedule:
- cron: '0 0 * * *'
- cron: '0 3 * * *'

jobs:
defaults:
run:
shell: bash -leo pipefail {0} {0}

jobs:
test:

runs-on: ${{ matrix.os }}

strategy:

matrix:
os: ["macOS-latest", "ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
pymbar-version: ["pymbar4"]
os:
- "macOS-latest"
- "ubuntu-latest"
python-version:
- "3.9"
- "3.10"
- "3.11"
pymbar-version:
- "pymbar3"
- "pymbar4"

steps:
- uses: actions/checkout@v4
Expand All @@ -29,14 +36,10 @@ jobs:
python=${{ matrix.python-version }}
- name: Install package
shell: bash -l {0}
run: |
python -m pip install --no-deps .
run: python -m pip install --no-deps .

- name: Run tests
shell: bash -l {0}
run: |
pytest -v --cov=physical_validation --cov-report=xml physical_validation/tests/
run: pytest -v --cov=physical_validation --cov-report=xml physical_validation/tests/

- name: Code coverage
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 4690e26

Please sign in to comment.