Skip to content

Commit

Permalink
Merge pull request #60 from researchapps/update/python-support
Browse files Browse the repository at this point in the history
test tweaking github-py to >=2.0.0 for python 3.9 support
  • Loading branch information
IanLee1521 authored Jun 24, 2022
2 parents 471e06d + eda31b2 commit d37de57
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 17 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: llnl-scraper

on:
pull_request: []

jobs:
testing:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 'pypy3.6', "pypy3.7", "pypy3.8", "pypy3.9"]
name: Python ${{ matrix.python-version }} Tests
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Python Tests
run: |
conda create --quiet --name test pytest
export PATH="/usr/share/miniconda/bin:$PATH"
source activate test
pip install flake8 bandit black
pip install .
npm install -g markdownlint-cli@0.23.2
make test
scraper -h
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ test:
flake8 scraper/
black --check scraper/
markdownlint '**/*.md'
pyflakes scraper

release: test
python setup.py sdist bdist_wheel
Expand Down
1 change: 1 addition & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ bandit
black
flake8
safety
pyflakes
2 changes: 1 addition & 1 deletion requirements/production.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github3.py==1.2.0
github3.py>=2.0.0
python-gitlab>=1.6.0
stashy>=0.3
python-dateutil>=2.7.3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="llnl-scraper",
version="0.10.0",
version="0.10.1",
description="Package for extracting software repository metadata",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit d37de57

Please sign in to comment.