From 5001ef53f9980321ce0aa92e104ee7a76f2f8051 Mon Sep 17 00:00:00 2001 From: wling <90316914+wling-art@users.noreply.github.com> Date: Wed, 10 Jan 2024 05:45:35 +0800 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2cf9341 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,15 @@ +on: + push: + branches: + - main +jobs: + report: + name: deploy to staging + runs-on: ubuntu-18.04 + steps: + - name: Report test coverage to DeepSource + uses: deepsourcelabs/test-coverage-action@master + with: + key: python + coverage-file: coverage.xml + dsn: ${{ secrets.DEEPSOURCE_DSN }}