-
Notifications
You must be signed in to change notification settings - Fork 15
52 lines (43 loc) · 1.36 KB
/
citus-package-all-platforms-test.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
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Citus package all platforms tests
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
PACKAGING_PASSPHRASE: ${{ secrets.PACKAGING_PASSPHRASE }}
MICROSOFT_EMAIL: [email protected]
USER_NAME: Gurkan Indibay
MAIN_BRANCH: all-citus
PACKAGE_CLOUD_API_TOKEN: ${{ secrets.PACKAGE_CLOUD_API_TOKEN }}
on:
push:
branches:
- "**"
workflow_dispatch:
jobs:
unit_test_execution:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- el/7
- el/8
- ol/7
- ol/8
- debian/stretch
- debian/buster
- debian/bullseye
- ubuntu/bionic
- ubuntu/focal
env:
PLATFORM: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources
- name: Define git credentails
run: git config --global user.email "${MICROSOFT_EMAIL}"&& git config --global user.name "${USER_NAME}"
- name: Install python requirements
run: python -m pip install -r packaging_automation/requirements.txt
- name: Citus package tests
run: python -m pytest -q packaging_automation/tests/test_citus_package.py -s