Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
CI workflow for CPython v3.9.6 and v3.8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Aug 24, 2021
1 parent 6731f2a commit ca11af3
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,27 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python:
- 3.9.6
- 3.8.11

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9 in pipenv
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip pipenv wheel cython
pipenv lock
pipenv sync -d
- name: Test with pytest
run: |
pipenv run pytest --cov=Aspidites --cov-report=xml
- name: Upload Coverage to codecov.io
- uses: actions/checkout@v2
- name: Test Python Versions
uses: gabrielfalcao/pyenv-action@v5
with:
default: "${{ matrix.python }}"
command: |
pip install -U pip pipenv wheel cython
pipenv lock
pipenv sync -d
pipenv run pytest --cov=Aspidites --cov-report=xml
rm -rf Pipfile.lock
- name: Upload Coverage to codecov.io
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
Expand Down

0 comments on commit ca11af3

Please sign in to comment.