Skip to content

Merge pull request #3 from dzmitrykliapkou/add-codecov #1

Merge pull request #3 from dzmitrykliapkou/add-codecov

Merge pull request #3 from dzmitrykliapkou/add-codecov #1

Workflow file for this run

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 }}