Skip to content

Commit

Permalink
Moving from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagasaki45 committed Jun 15, 2024
1 parent 59ccaca commit 0bf29cc
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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: Checkout repository
uses: actions/checkout@v4

- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Setup BibTex
uses: teatimeguest/setup-texlive-action@v3
with:
packages: bibtex

- name: Setup xclip
run: sudo apt install xclip

- 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 }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Moving from Travis-CI to GitHub Actions.

## [0.1.7] - 2022-03-09

### Changed
Expand Down

0 comments on commit 0bf29cc

Please sign in to comment.