Skip to content

Merge pull request #23 from pythonhealthdatascience/dev #39

Merge pull request #23 from pythonhealthdatascience/dev

Merge pull request #23 from pythonhealthdatascience/dev #39

Workflow file for this run

# This file runs the tests in `tests/`
# They will run in parallel, and run on three operating systems:
# Ubuntu, Windows and Mac.
name: tests
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
# Run tests on Ubuntu
tests-on-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install python and dependencies
uses: actions/setup-python@v4
with:
python-version: '3.13'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Run tests
run: pytest
- name: List the environment variables
run: env
# Run tests on Windows
tests-on-windows:
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install python and dependencies
uses: actions/setup-python@v4
with:
python-version: '3.13'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Run tests
run: pytest
- name: List the environment variables
run: env
# Run tests on Mac
tests-on-macos:
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install python and dependencies
uses: actions/setup-python@v4
with:
python-version: '3.13'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Run tests
run: pytest
- name: List the environment variables
run: env