-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (42 loc) · 1.07 KB
/
build_test.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
36
37
38
39
40
41
42
name: build test
on:
push:
branches:
- dev-*
- main
pull_request:
branches:
- dev-*
- release*
- master
- main
jobs:
build_test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '***SKIPBUILD***')"
strategy:
max-parallel: 1
matrix:
python-version: [ '3.9' ]
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Config github user
run: |
git config --global user.email "[email protected]"
git config --global user.name "BambooUser-IDM"
- uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Build and install package
uses: ./.github/actions/build-install-package
with:
package_file: 'setup.py'
- name: run tests
env:
ignore_comps: True
run: python -m unittest discover .
working-directory: ./tests