Skip to content

Github action codecov token secret #67

Github action codecov token secret

Github action codecov token secret #67

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 3 1 * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11.x'
- name: Install requirements
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt -r requirements-ci.txt
- name: Run ci.sh script
run: ./ci.sh
- name: Upload to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}