-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (34 loc) · 917 Bytes
/
lib-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
name: Library Tests
on:
pull_request:
branches:
- master
paths:
- src/lib/**
jobs:
lib-tests:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install project dependencies
run: |-
pip install --editable ./src/cli/
pip install --editable ./src/test/
- name: Write config file and point to license
env:
LIC_DATA: ${{ secrets.LIC_DATA }}
run: |-
echo "${LIC_DATA}" > ~/starburstdata.license
mkdir ~/.minitrino/
cat <<EOF > ~/.minitrino/minitrino.cfg
[config]
LIC_PATH=~/starburstdata.license
EOF
- name: Run library tests
run: |-
python ./src/test/src/lib/runner.py