Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Mark etcd plugin as deprecated (#7) #6

Mark etcd plugin as deprecated (#7)

Mark etcd plugin as deprecated (#7) #6

Workflow file for this run

name: Test
on:
push:
tags: ['v[0-9]+.[0-9]+.[0-9]+']
branches:
- main
pull_request:
env:
PYTHON_VERSION: "2.7.18"
REQUIREMENTS_PATH: "requirements.txt"
TEST_REQUIREMENTS_PATH: "test_requirements.txt"
jobs:
basic-tests:
name: basic-tests
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Cache pip
uses: actions/cache@v2
with:
path: |
~/.cache/pip
key: v1-pip-${{ env.PYTHON_VERSION }}-${{ hashFiles(env.REQUIREMENTS_PATH) }}-${{ hashFiles(env.TEST_REQUIREMENTS_PATH) }}
- name: Install dependencies
run: |
pip install -r ${{ env.REQUIREMENTS_PATH }}
pip install -r ${{ env.TEST_REQUIREMENTS_PATH }}
- name: Run basic tests
run: bash verify.sh
integration-tests:
name: integration-tests
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v2
- name: Run integration tests
working-directory: integration-test
run: bash run.sh