-
-
Notifications
You must be signed in to change notification settings - Fork 13
39 lines (33 loc) · 999 Bytes
/
quality-check.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
name: Open Prices unit and integration tests
on:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
steps:
#----------------------------------------------
# check-out repo
#----------------------------------------------
- name: Check out repository
uses: actions/checkout@v4
#----------------------------------------------
# Launch checks and tests
#----------------------------------------------
- name: Configure docker
run: |
# ensure a new line for .env file might not have it!
echo "" >> .env
# align user id
echo "USER_UID=$UID" >> .env
echo "PYTHON_VERSION=${{ matrix.python-version }}" >> .env
- name: Launch tests
run: |
make create_external_networks
make tests