Merge pull request #30 from aerawatcorp/dependabot/pip/pygments-2.15.0 #8
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
# Refactored from travis | |
# Config file for automatic testing at travis-ci.org | |
#language: python | |
#python: | |
# - "3.6" | |
#matrix: | |
# fast_finish: true | |
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors | |
#install: "make pipenv" | |
# command to run tests using coverage, e.g. python setup.py test | |
#script: "make coverage" | |
#after_success: | |
#- codecov | |
# This workflow will upload a Python Package using Twine when a release is created | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries | |
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Build and Generate Coverage | |
on: | |
push: | |
branches: | |
- 'master' | |
permissions: | |
contents: read | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.6.15' | |
- name: Install dependencies and environment | |
run: | | |
make pipenv | |
#python -m pip install --upgrade pip | |
#pip install build | |
- name: Run the coverage | |
run: make coverage | |
- name: CodeCov | |
run: codecov |