Skip to content

Commit

Permalink
Archive log files in CI (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
yutaro-sakamoto authored Mar 7, 2024
1 parent 7c78cfb commit 6c777fc
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,23 @@ jobs:
working-directory: tests
run: |
cp ../.github/workflows/db-settings/embed_db_info_postgresql_9.6.sh embed_db_info.sh
make test
OCDB_LOGLEVEL=debug make test
# Run Autotest for PostgreSQL 15
- name: Run tests for PostgreSQL 15
working-directory: tests
run: |
cp ../.github/workflows/db-settings/embed_db_info_postgresql_15.sh embed_db_info.sh
make test
OCDB_LOGFILE=debug make test
# Define the archive name
- name: Define the archive name
run: |
echo OCESQL_ARCHIVE_NAME=ocesql-${{ matrix.os }} | sed s/:/-/g >> $GITHUB_ENV
# upload a log file
- name: Upload a test log
uses: actions/upload-artifact@v4
with:
name: ${{ env.OCESQL_ARCHIVE_NAME }}.log
path: /tmp/ocesql.log

0 comments on commit 6c777fc

Please sign in to comment.