Skip to content

Commit a182bd0

Browse files
committed
Switch from travis to github actions
1 parent 53fb1b2 commit a182bd0

File tree

3 files changed

+32
-9
lines changed

3 files changed

+32
-9
lines changed

.github/workflows/lint.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Linting
2+
3+
on:
4+
push:
5+
branches: [master, develop]
6+
pull_request:
7+
branches: [master, develop]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
python-version: [3.8]
16+
17+
steps:
18+
- name: Install ldap dependencies
19+
run: sudo apt-get update && sudo apt-get install libldap2-dev libsasl2-dev
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
- name: Lint with pylint
30+
run: |
31+
pylint selections

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Selections
22
[![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)
3-
[![Build Status](https://travis-ci.org/ComputerScienceHouse/csh-selections.svg?branch=develop)](https://travis-ci.org/ComputerScienceHouse/csh-selections)
3+
[![Linting](https://github.com/ComputerScienceHouse/csh-selections/actions/workflows/lint.yml/badge.svg)](https://github.com/ComputerScienceHouse/csh-selections/actions/workflows/lint.yml)
44

55
Selections is a Flask / Python web app meant to help facilitate the application review process for Computer Science House.
66

0 commit comments

Comments
 (0)