Skip to content

chore(deps): update dependency web to v1 #88

chore(deps): update dependency web to v1

chore(deps): update dependency web to v1 #88

name: Sugar Integration Tests
on:
push:
paths:
- .github/workflows/sugar_integration_test.yaml
- sugar/integration_test/**
- sugar/lib/**
- sugar/tool/**
- sugar/dart_test.yaml
- sugar/pubspec.yaml
pull_request:
paths:
- .github/workflows/sugar_integration_test.yaml
- sugar/integration_test/**
- sugar/lib/**
- sugar/tool/**
- sugar/dart_test.yaml
- sugar/pubspec.yaml
jobs:
windows:
name: Windows integration tests
runs-on: windows-latest
defaults:
run:
working-directory: sugar
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: dart run coverage:test_with_coverage test ./integration_test/
- uses: codecov/codecov-action@v4
with:
files: ./sugar/coverage/lcov.info
macos:
name: macOS integration tests
runs-on: macos-latest
defaults:
run:
working-directory: sugar
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: chmod +x ./integration_test/src/time/zone/platform/platform_provider_test_macos.sh
- run: ./integration_test/src/time/zone/platform/platform_provider_test_macos.sh
- uses: codecov/codecov-action@v4
with:
files: ./sugar/coverage/lcov.info
linux:
name: Linux integration tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: sugar
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: chmod +x ./integration_test/src/time/zone/platform/platform_provider_test_linux.sh
- run: ./integration_test/src/time/zone/platform/platform_provider_test_linux.sh
- uses: codecov/codecov-action@v4
with:
files: ./sugar/coverage/lcov.info
web:
name: Web integration tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: sugar
steps:
- uses: actions/checkout@v4
- uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
- uses: browser-actions/setup-firefox@v1
with:
firefox-version: latest
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: chmod +x ./integration_test/src/time/zone/platform/platform_provider_test_browser.sh
- run: ./integration_test/src/time/zone/platform/platform_provider_test_browser.sh
- uses: codecov/codecov-action@v4
with:
files: ./sugar/coverage/lcov.info