-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (43 loc) · 1.33 KB
/
test.yml
File metadata and controls
53 lines (43 loc) · 1.33 KB
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
name: Test
run-name: Test - ${{ github.head_ref || github.ref_name }} by @${{ github.actor }}
on:
push:
branches-ignore: [main]
workflow_dispatch:
workflow_call:
jobs:
test-request-api:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install test dependencies with pip
working-directory: ./request-api
run: |
pip3 install -r requirements/test_requirements.txt
- name: Run Lint and Tests
working-directory: ./request-api
run: make test
test-request-processor:
runs-on: ubuntu-22.04
steps:
- name: Install GDAL binary package
run: |
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install gdal-bin
gdalinfo --version
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install test dependencies with pip
working-directory: ./request-processor
run: |
pip3 install -r requirements/test_requirements.txt
- name: Download specification files
working-directory: ./request-processor
run: make specification
- name: Lint, Test, Coverage
working-directory: ./request-processor
run: make all