2022-02-07 18:54:31 +01:00
|
|
|
name: Test Linux
|
2020-03-23 19:41:05 +01:00
|
|
|
|
2020-07-21 20:44:30 +02:00
|
|
|
on:
|
|
|
|
pull_request:
|
2021-10-22 20:02:50 +02:00
|
|
|
paths-ignore:
|
2022-02-07 18:54:31 +01:00
|
|
|
- README.md
|
2021-11-27 02:18:37 +01:00
|
|
|
- .github/**
|
|
|
|
- '!.github/workflows/test-linux.yml'
|
2021-07-16 08:24:23 +02:00
|
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
2020-07-21 20:44:30 +02:00
|
|
|
push:
|
|
|
|
branches:
|
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
|
2021-10-22 20:02:50 +02:00
|
|
|
paths-ignore:
|
2022-02-07 18:54:31 +01:00
|
|
|
- README.md
|
2021-11-27 02:18:37 +01:00
|
|
|
- .github/**
|
|
|
|
- '!.github/workflows/test-linux.yml'
|
2020-03-23 19:41:05 +01:00
|
|
|
|
2022-02-18 16:46:12 +01:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-03-23 19:41:05 +01:00
|
|
|
env:
|
2021-10-04 09:01:04 +02:00
|
|
|
PYTHON_VERSION: '3.10'
|
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:
|
2022-03-25 01:48:29 +01:00
|
|
|
- uses: actions/checkout@v3
|
2021-11-27 23:12:26 +01:00
|
|
|
with:
|
|
|
|
persist-credentials: false
|
2020-03-23 19:41:05 +01:00
|
|
|
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
2022-03-30 15:07:02 +02:00
|
|
|
uses: actions/setup-python@v3
|
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"
|