diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5331901..e4a5059 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,25 @@ jobs: pipenv install --dev - name: Run tests run: pipenv run coverage run --source=twstock -m unittest + create-reports: + runs-on: ubuntu-latest + needs: build + strategy: + matrix: + os: [ubuntu-latest] + python-version: ["3.12"] + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup + run: | + pip install pipenv + pipenv install --dev + - name: Run tests + run: pipenv run coverage run --source=twstock -m unittest - name: Create reports - run: - | - pipenv run coveralls - pipenv run codecov + run: | + pipenv run coveralls + pipenv run codecov env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}