Skip to content

Add gel as a valid dsn scheme. #125

Add gel as a valid dsn scheme.

Add gel as a valid dsn scheme. #125

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
# Skip tests when doing a release to avoid the workflow race
# when the release PR gets merged by the bot.
if: needs.prep.outputs.version == 0
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
edgedb-version: ["stable"]
include:
- os: ubuntu-latest
edgedb-version: "nightly"
- os: ubuntu-latest
edgedb-version: "3" # LTS
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 50
submodules: true
- name: Setup WSL
if: ${{ matrix.os == 'windows-2019' }}
uses: vampire/[email protected]
with:
wsl-shell-user: edgedb
additional-packages: ca-certificates
curl
- name: Set up Dart
uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Lint
if: ${{ matrix.os == 'ubuntu-latest' && matrix.edgedb-version == 'stable' }}
run: dart analyze && dart run tool/gen_docs.dart --lintMode
- name: Install EdgeDB
uses: edgedb/setup-edgedb@v1
with:
server-version: ${{ matrix.edgedb-version }}
- name: Run functional tests
run: |
dart run test/run.dart
# This job exists solely to act as the test job aggregate to be
# targeted by branch policies.
regression-tests:
name: "Regression Tests"
needs: [test]
runs-on: ubuntu-latest
steps:
- run: echo OK