mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-01-04 16:49:59 -06:00
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: test
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
|
|
jobs:
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: 'true'
|
|
- name: Install Dependencies
|
|
run: |
|
|
sudo apt-get update && \
|
|
sudo apt-get install -y --no-install-recommends curl libssl-dev pkg-config libclang-dev protobuf-compiler libprotobuf-dev
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 9
|
|
- name: PNPM install
|
|
run: |
|
|
pnpm i
|
|
- name: Set up Flutter
|
|
uses: subosito/flutter-action@v2
|
|
with:
|
|
channel: stable
|
|
flutter-version: 3.27.2
|
|
- name: Setup .NET SDK
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '9.x'
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
default: true
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.13'
|
|
- name: Poetry install
|
|
run: |
|
|
pipx install poetry && poetry -C client/trailbase-py install
|
|
- uses: pre-commit/action@v3.0.1
|