Skip to content

Commit

Permalink
Fix GitHub Actions install steps
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed May 31, 2022
1 parent 909aba8 commit dd01010
Showing 1 changed file with 7 additions and 7 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 }}

0 comments on commit dd01010

Please sign in to comment.