name: Validation (test + coverage) on: push: branches-ignore: - develop - release - main jobs: test: runs-on: macos-build steps: - name: Checkout repository (workaround - Gitea git-upload-pack bug, see go-gitea/gitea#21819) run: | curl -sSfL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -o /tmp/repo.tar.gz \ "${{ github.server_url }}/api/v1/repos/${{ github.repository }}/archive/${{ github.sha }}.tar.gz" tar -xzf /tmp/repo.tar.gz --strip-components=1 -C "$GITHUB_WORKSPACE" - name: Run tests with coverage run: fastlane tests