Skip to content

Commit

Permalink
Merge pull request #6 from Medical-Event-Data-Standard/tp/github_work…
Browse files Browse the repository at this point in the history
…flow

Add simple github workflow.
  • Loading branch information
tompollard authored Jan 9, 2024
2 parents 8dbd181 + 251548b commit 2dfb498
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
- name: Install MEDS
run: python -m pip install .
- name: Run tests
run: |
pytest -v

0 comments on commit 2dfb498

Please sign in to comment.