Skip to content

Commit

Permalink
Merge pull request #3 from dzmitrykliapkou/add-codecov
Browse files Browse the repository at this point in the history
Create codecov.yaml
  • Loading branch information
dzmitrykliapkou authored Jan 16, 2024
2 parents bfefb8f + 8e33f1d commit 8f9abd5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test new branch

on:
push:
branches:
- main

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Get date
id: date-time
run: |
echo "datetime=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v3
with:
ref: "main"
token: ${{ secrets.RELEASE_PAT }}
persist-credentials: true
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 8f9abd5

Please sign in to comment.