Skip to content

fix: update env

fix: update env #112

Workflow file for this run

name: pytest
on:
- push
- pull_request
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
env:
COVERALLS_REPO_TOKEN: ${{ secrets.TOKEN_COVERALLS }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests with coverage
run: |
python -m pytest --cov
coverage xml
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.TOKEN_GITHUB }}