Fix decoding issue when reading a huge amount of rows with a lot of data in each one #269
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Oracle Autonomous Database | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
schedule: | |
- cron: '0 15 * * 1' | |
jobs: | |
test-23ai: | |
container: | |
image: swift:6.0-jammy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set DEBUG specific environment variables | |
if: runner.debug == '1' | |
run: | | |
echo "LOG_LEVEL=trace" >> "$GITHUB_ENV" | |
- name: Build | |
run: swift build | |
- name: Run tests | |
run: swift test --enable-code-coverage | |
env: | |
ORA_HOSTNAME: ${{ secrets.ORA_HOSTNAME_CLOUD_23 }} | |
ORA_PORT: ${{ secrets.ORA_PORT_CLOUD_23 }} | |
ORA_SERVICE_NAME: ${{ secrets.ORA_SERVICE_NAME_CLOUD_23 }} | |
ORA_USERNAME: ${{ secrets.ORA_USERNAME_CLOUD_23 }} | |
ORA_PASSWORD: ${{ secrets.ORA_PASSWORD_CLOUD_23 }} | |
ORA_TEST_WALLET: ${{ secrets.ORA_TEST_WALLET_CLOUD_23 }} | |
ORA_TEST_WALLET_PASSWORD: ${{ secrets.ORA_TEST_WALLET_PASSWORD_CLOUD_23 }} | |
SMOKE_TEST_ONLY: 1 # we only want to know if connections work at all, we don't require the full suite | |
TEST_VECTORS: true | |
- name: Prepare Code Coverage | |
if: github.event_name != 'schedule' | |
run: llvm-cov export -format="lcov" .build/debug/oracle-nioPackageTests.xctest -instr-profile .build/debug/codecov/default.profdata > info.lcov | |
- name: Upload coverage reports to Codecov | |
if: github.event_name != 'schedule' | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: info.lcov |