This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Bump urllib3 from 1.24.3 to 1.26.18 in /requirements #48
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: pre-merge | |
on: | |
push: | |
branches: | |
- 'user/**' | |
- 'feature/**' | |
- 'improvement/**' | |
- 'dependabot/**' | |
- 'bugfix/**' | |
- 'w/**' | |
- 'q/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install deps | |
uses: ./.github/actions/install-deps | |
- name: run static analysis tools | |
run: tox -e lint | |
- name: check helm packaging eve | |
run: helm lint charts/eve | |
- name: check helm packaging eve-cron-builder | |
run: helm lint charts/eve-cron-builder | |
- name: check helm packaging eve-doc | |
run: helm lint charts/eve-doc | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install deps | |
uses: ./.github/actions/install-deps | |
- name: Ensure the release notes compile | |
run: tox -e relnotes -- test_version | |
- name: Ensure the doc compiles | |
run: tox -e doc | |
unit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install deps | |
uses: ./.github/actions/install-deps | |
- name: run unit tests | |
run: tox -e unit | |
- name: run system utils tests | |
run: tox -e testutil | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install deps | |
uses: ./.github/actions/install-deps | |
- name: run system tests | |
run: tox -e system | |
docker-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install deps | |
uses: ./.github/actions/install-deps | |
- name: run docker-compose build | |
run: tox -e compose-build | |
- name: run docker tests | |
run: tox -e docker | |
kube-tests: | |
runs-on: [self-hosted, ubuntu, focal, large] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install deps | |
uses: ./.github/actions/install-deps | |
- name: Install docker | |
uses: ./.github/actions/install-docker | |
- name: Install kubectl | |
uses: ./.github/actions/install-kubectl | |
- uses: engineerd/[email protected] | |
- name: Setup Kind cluster | |
run: | | |
kubectl create role default --verb=get --verb=list --verb=watch --verb=update --verb=create --verb=delete --resource=pods --resource=secrets --resource=configmaps | |
kubectl create rolebinding default --role=default --serviceaccount=default:default | |
docker build -t fake-service:testing tests/kube/contexts/simple/fake-service | |
kind load docker-image fake-service:testing | |
- name: run kube tests | |
run: tox -e kube |