Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate pytest with github - workflow yml file #15

Open
teslajoy opened this issue Feb 8, 2024 · 1 comment
Open

integrate pytest with github - workflow yml file #15

teslajoy opened this issue Feb 8, 2024 · 1 comment

Comments

@teslajoy
Copy link
Member

teslajoy commented Feb 8, 2024

No description provided.

@teslajoy
Copy link
Member Author

teslajoy commented Feb 8, 2024

name: automate pytest (CI)

on:
  push:
    branches:
      - '*'
      # - '!main'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: checkout repository
      uses: actions/checkout@v#

    - name: set up Python
      uses: actions/setup-python@v#
      with:
        python-version: 3.11

    - name: install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install .

    - name: run tests
      run: |
        pytest -cov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant