Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

fix: Error if closing the socket while it's being opened #576

fix: Error if closing the socket while it's being opened

fix: Error if closing the socket while it's being opened #576

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Tests
on:
push:
branches:
- master
- develop
- feat/*
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Install Melos
run: dart pub global activate melos
- name: Boostrap
run: melos bs
# pre-pull the image so `usePostgresDocker` does not delay which may causes
# tests to timeout
- name: pull latest postgres image
run: docker pull postgres:latest
- name: Run tests
run: melos run test:all
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Install Melos
run: dart pub global activate melos
- name: Boostrap
run: melos bs
- name: Verify formatting
run: melos run format
- name: Analyze project source
run: melos run analyze