Merge pull request #42 from dreamer-coding-555/dependabot/github_acti… #94
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Codecov Report | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
if: "! contains(github.event.head_commit.message, '[ci skip]')" | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.6 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.6 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r ci/ci-requirements.txt | |
- name: Lint with flake8 | |
run: | | |
pip install flake8 | |
flake8 . | |
- name: Test with pytest | |
run: python run_tests.py | |
- name: Load report on codecov.io | |
run: codecov --token=c7ca9cfe-be94-4855-8ae1-0404203b7182 |