implemented issues 243 and 244 #47
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
name: GitHub Actions CI | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
# python -m pip install --upgrade setuptools pip | |
python -m pip install --upgrade wheel pip | |
pip install -U -r requirements.txt | |
pip install -U -r dev-requirements.txt | |
- name: Test with pytest | |
run: | | |
py.test | |
- name: Upload coverage data to coveralls.io | |
run: coveralls | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |