diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml new file mode 100644 index 0000000..1cb973f --- /dev/null +++ b/.github/workflows/dart.yml @@ -0,0 +1,32 @@ +name: Dart CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + + # Installing Flutter because it's easier to generate .lcov files for test coverage + - name: Install Flutter + uses: subosito/flutter-action@v2 + + - name: Install dependencies + run: dart pub get + + # Your project will need to have tests in test/ and a dependency on + # package:test for this step to succeed. Note that Flutter projects will + # want to change this to 'flutter test'. + - name: Run tests + run: flutter test --coverage + + - uses: codecov/codecov-action@v2 + with: + files: coverage/lcov.info + verbose: true # optional (default = false) \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/elixir.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/elixir.yml