Skip to content

Moving from Travis to GitHub Actions #3

Moving from Travis to GitHub Actions

Moving from Travis to GitHub Actions #3

Workflow file for this run

name: CI Pipeline
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install .[dev]
- name: Run unit tests
run: coverage run -m pytest
# - name: Upload coverage report
# uses: codecov/codecov-action@v2
# with:
# token: ${{ secrets.CODECOV_TOKEN }}