2020-03-23 19:41:05 +01:00
|
|
|
name: test-linux
|
|
|
|
|
2020-07-21 20:44:30 +02:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2021-05-03 10:59:10 +02:00
|
|
|
- main
|
2020-08-05 15:46:22 +02:00
|
|
|
- canary
|
2020-08-06 18:31:17 +02:00
|
|
|
- v[0-9]+.x-staging
|
|
|
|
- v[0-9]+.x
|
2020-03-23 19:41:05 +01:00
|
|
|
|
|
|
|
env:
|
2020-10-06 17:51:24 +02:00
|
|
|
PYTHON_VERSION: 3.9
|
2020-03-23 19:41:05 +01:00
|
|
|
FLAKY_TESTS: dontcare
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test-linux:
|
2020-11-01 09:18:08 +01:00
|
|
|
if: github.event.pull_request.draft == false
|
2020-03-23 19:41:05 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
2020-10-06 17:51:24 +02:00
|
|
|
uses: actions/setup-python@v2
|
2020-03-23 19:41:05 +01:00
|
|
|
with:
|
2020-04-02 05:06:51 +02:00
|
|
|
python-version: ${{ env.PYTHON_VERSION }}
|
2020-03-23 19:41:05 +01:00
|
|
|
- name: Environment Information
|
|
|
|
run: npx envinfo
|
|
|
|
- name: Build
|
2020-05-11 16:28:51 +02:00
|
|
|
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
|
2020-03-23 19:41:05 +01:00
|
|
|
- name: Test
|
2020-08-01 06:40:47 +02:00
|
|
|
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"
|