Skip to content

Commit

Permalink
Merge branch 'elastic:master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
EtK2000 authored Jul 10, 2022
2 parents 1b6d085 + dd01010 commit a4c634c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
Expand All @@ -65,24 +65,24 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Setup Elasticsearch
run: |
mkdir /tmp/elasticsearch
wget -O - https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${{ matrix.es-version }}-linux-x86_64.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
/tmp/elasticsearch/bin/elasticsearch -d
- name: Setup Python - ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python 3.8 for Nox
if: matrix.python-version != '3.8'
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3
- name: Install dependencies
run: |
python3.8 -m pip install nox
python3 -m pip install nox
- name: Run Tests
run: |
nox -rs test-${{ matrix.python-version }}
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test(session):

@nox.session()
def format(session):
session.install("black", "isort")
session.install("black==21.12b0", "click==8.0.4", "isort")
session.run(
"black", "--target-version=py27", "--target-version=py37", *SOURCE_FILES
)
Expand All @@ -58,7 +58,7 @@ def format(session):

@nox.session
def lint(session):
session.install("flake8", "black", "isort")
session.install("flake8", "black==21.12b0", "click==8.0.4", "isort")
session.run(
"black",
"--check",
Expand Down

0 comments on commit a4c634c

Please sign in to comment.