Skip to content

feat: support custom CSS file in theme configuration #49

feat: support custom CSS file in theme configuration

feat: support custom CSS file in theme configuration #49

Workflow file for this run

name: CI
on:
push:
branches: [dev]
pull_request:
branches: [dev]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format . -l 120 --output=none --set-exit-if-changed .
- name: Analyze
run: dart analyze --fatal-infos
test:
name: Tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Install dependencies
run: dart pub get
- name: Run tests
if: matrix.os != 'ubuntu-latest'
run: dart test
- name: Run tests with coverage
if: matrix.os == 'ubuntu-latest'
run: dart test --coverage=coverage
- name: Convert coverage to lcov
if: matrix.os == 'ubuntu-latest'
run: dart run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --report-on=lib
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v5
with:
files: coverage/lcov.info
fail_ci_if_error: false
slug: nexlabstudio/stardust
token: ${{ secrets.CODECOV_TOKEN }}