Skip to content

Commit

Permalink
f: echoes
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Jul 28, 2023
1 parent 283a110 commit 44b408f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/actions/pytest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,22 @@ runs:
elasticsearch-version: ${{ inputs.elasticsearch }}
- name: Test path
shell: bash
run: "echo $ES_HOME"
run: echo $ES_HOME
- name: Elasticsearch bin
shell: bash
run: echo "elasticsearch_bin=$ES_HOME/bin/elasticsearch" >> "$GITHUB_ENV"
- name: Run test
uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
pipenv-install-options: "--skip-lock"
command: pytest --elasticsearch-executable=/home/runner/es/elasticsearch-${{ inputs.elasticsearch }}/bin/elasticsearch -n 0 --cov-report=xml
command: pytest --elasticsearch-executable=$ES_HOME/bin/elasticsearch -n 0 --cov-report=xml
- name: Run xdist test
uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
pipenv-install-options: "--skip-lock"
command: pytest --elasticsearch-executable=/home/runner/es/elasticsearch-${{ inputs.elasticsearch }}/bin/elasticsearch -n 1 --cov-report=xml:coverage-xdist.xml
command: pytest --elasticsearch-executable=$ES_HOME/bin/elasticsearch -n 1 --cov-report=xml:coverage-xdist.xml
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
Expand Down

0 comments on commit 44b408f

Please sign in to comment.