-
Notifications
You must be signed in to change notification settings - Fork 11
35 lines (28 loc) · 951 Bytes
/
check.yaml
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
on: push
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: install dependency manager
run: |
pip install --user pipenv
- name: install dependencies
run: |
pipenv install --dev --deploy
- name: run checks
run: make check
- name: run tests
run: |
pipenv run python -c "import sklearn"
make tests
- name: integration-test the installable package
run: |
mkdir -p /tmp/bass
cd /tmp/bass
echo "installing from ${{ github.ref_name }}"
pipenv install git+https://github.com/Antfield-Creations/NDE-monitoring-file-formats@${{ github.ref_name }}#egg=bass_diffusion
pipenv run python -c "from bass_diffusion import BassDiffusionModel; model = BassDiffusionModel()"