diff --git a/.github/workflows/publish_pub.yml b/.github/workflows/publish_pub.yml index 05334ce..42c9a78 100644 --- a/.github/workflows/publish_pub.yml +++ b/.github/workflows/publish_pub.yml @@ -11,16 +11,27 @@ on: - created jobs: - build: + test: runs-on: ubuntu-latest - container: - image: google/dart:latest steps: - uses: actions/checkout@v3 + - uses: subosito/flutter-action@v2 + with: + flutter-version: '3.7.3' + channel: 'stable' + - name: Run tests run: flutter test --machine test + publish: + runs-on: ubuntu-latest + container: + image: google/dart:latest + needs: test + steps: + - uses: actions/checkout@v3 + - name: Setup Credentials uses: joutvhu/write-file@v1 with: diff --git a/.pubignore b/.pubignore index ab38998..1a1c001 100644 --- a/.pubignore +++ b/.pubignore @@ -21,6 +21,9 @@ migrate_working_dir/ # is commented out by default. #.vscode/ +# Github +.github + # Code Coverage coverage