-
Notifications
You must be signed in to change notification settings - Fork 27
55 lines (49 loc) · 1.34 KB
/
Healthcheck tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Health Check tests
on:
push:
branches:
- master
paths:
- python/**
- reports/*.qmd
- .github/workflows/**
pull_request:
paths:
- python/**
- reports/*.qmd
jobs:
HealthCheck-Test:
runs-on: ubuntu-latest
name: Test Health Check
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip
- name: Install dependencies
working-directory: python
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
pip install papermill
pip install XlsxWriter
pip install ipython
pip install ipykernel
pip install itables
pip install jinja2
ipython kernel install --name "python3" --user
sudo apt-get install -y pandoc
- name: Install pdstools
run: pip install .
- name: "Install quarto"
run: |
curl -s https://api.github.com/repos/quarto-dev/quarto-cli/releases/latest |
grep "browser_download_url.*deb" |
cut -d '"' -f 4 |
wget -i -
sudo dpkg -i quarto*amd64.deb
- name: Run Health Check
run: pytest python/tests/test_healthcheck.py