matheuscas / pycpfcnpj

Python module for brazilian register numbers for persons (CPF) and companies (CNPJ).
MIT License
143 stars 44 forks source link

ci: add CI with GitHub Actions #41

Closed gabrielcjr closed 9 months ago

matheuscas commented 2 years ago

Hey @gabrielcjr , sorry for the super late response. Did you tested the action? Like, you can put your own branch and send a commit to check if the action is running properly, like below:

name: Test pipeline
on:
  pull_request:
    branches:
      - 'master'
      - 'NAME_OF_YOUR_BRANCH'

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Install
        run: pip install -r test_requirements.txt

      - name: Run test
        run: py.test --cov=pycpfcnpj tests/*.py

Lemme know if you did, so I can approve it as soon as I can.

gabrielcjr commented 2 years ago

Not a problem. Now I'm late! I've tested the CI I did, but since tests are not ready yet, it didn't pass. Here's the PR https://github.com/gabrielcjr/pycpfcnpj/pull/4

matheuscas commented 9 months ago

Hey @gabrielcjr , a hundred years later I'm responding this. but I'm going to to close it, cuz I've added the Github actions by myself (I didn't look the PRs first 🤦🏼 ). Sorry about that.