Skip to content

docs: add license

docs: add license #31

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
services:
oracle:
image: gvenzl/oracle-xe:latest
env:
ORACLE_RANDOM_PASSWORD: true
APP_USER: my_user
APP_USER_PASSWORD: my_password
ports:
- 1521:1521
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 10
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
env:
ORA_HOSTNAME: localhost
ORA_PORT: 1521
ORA_SERVICE_NAME: XEPDB1
ORA_USERNAME: my_user
ORA_PASSWORD: my_password