Skip to content

Commit

Permalink
Merge pull request #2772 from bonicim/fix-wflows
Browse files Browse the repository at this point in the history
Change output_suffix in build-action step
  • Loading branch information
craig8 authored Sep 2, 2021
2 parents bb15dfa + 4024ed4 commit dba24e6
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 25 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pytest-dbutils-backup_db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v1
Expand All @@ -62,12 +66,9 @@ jobs:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.OUTPUT_SUFFIX }}

# Archive the results from the pytest to storage.
- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pytest-dbutils-influxdbfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v1
Expand All @@ -52,12 +56,9 @@ jobs:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.OUTPUT_SUFFIX }}

# Archive the results from the pytest to storage.
- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pytest-dbutils-mysqlfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v1
Expand All @@ -52,12 +56,9 @@ jobs:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.OUTPUT_SUFFIX }}

# Archive the results from the pytest to storage.
- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pytest-dbutils-postgresqlfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v1
Expand All @@ -52,12 +56,9 @@ jobs:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.OUTPUT_SUFFIX }}

# Archive the results from the pytest to storage.
- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/pytest-dbutils-sqlitefuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# Archive the results from the pytest to storage.
- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v1
Expand All @@ -52,12 +57,8 @@ jobs:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.OUTPUT_SUFFIX }}

# Archive the results from the pytest to storage.
- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pytest-dbutils-timescaldbfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
# Run the specified tests and save the results to a unique file that can be archived for later analysis.
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v1
Expand All @@ -52,12 +56,9 @@ jobs:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.TEST_FILE }}
test_output_suffix: ${{ env.OUTPUT_SUFFIX }}

# Archive the results from the pytest to storage.
- name: Create output suffix
run: |
echo "OUTPUT_SUFFIX=$(basename $TEST_FILE)" >> $GITHUB_ENV
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
Expand Down

0 comments on commit dba24e6

Please sign in to comment.