backport: fix no valid ip found 502 #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: apisix ci | |
on: | |
push: | |
branches: [ master, release/* ] | |
paths: ['src/apisix/**'] | |
pull_request: | |
branches: [ master, release/* ] | |
paths: ['src/apisix/**'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7.15' | |
cache: 'pip' | |
cache-dependency-path: 'src/apisix/requirements.txt' | |
- name: Install dependencies | |
run: pip install -r src/apisix/requirements.txt -i https://pypi.org/simple/ | |
- name: Change Edition | |
run: make edition-ee | |
- name: Build test image | |
run: cd src/apisix && make apisix-test-images | |
- name: Lint | |
run: cd src/apisix && make lint RUN_WITH_IT="" | |
- name: Test | |
run: cd src/apisix && make test RUN_WITH_IT="" |