-
Notifications
You must be signed in to change notification settings - Fork 10
41 lines (30 loc) · 823 Bytes
/
test.yml
File metadata and controls
41 lines (30 loc) · 823 Bytes
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
name: Test
on:
pull_request:
types: [opened, edited, synchronize]
# Allow the workflow to be manually triggered from the Actions tab.
workflow_dispatch:
jobs:
testing:
name: testing HECDSS functions
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Checkout code
uses: actions/checkout@v4
- name: Install requests
run: pip install requests
- name: add dll
run: python3 src/hecdss/download_hecdss.py
- name: Install Packages
run: pip install pytest
- name: Install numpy
run: pip install numpy
- name: Run tests
run: pytest tests