Skip to content

Commit

Permalink
Merge pull request #59 from waldenraines/github-actions
Browse files Browse the repository at this point in the history
chore: swap travis for github actions
  • Loading branch information
waldenraines authored Nov 3, 2023
2 parents e02011c + ba81ae1 commit 669af4c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 14 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.7"]

steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: System Dependencies
run: sudo apt-get update; make system-dependencies
- name: Install Python Deps
run: pip install wheel codecov
- name: Install Requirements
run: pip install -r requirements.frozen.txt
- name: Run Tests
run: python -m pytest --cov=hermit --cov-config=tests/.coveragerc --ignore=vendor
env:
PYTHONINTMAXSTRDIGITS: 68000
- name: Coverage
run: codecov
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,8 @@ if [ ! -e "${SUBMODULES_DIR}/pybitcointools/pybitcointools" ]; then
else
echo "[git] Submodules present"
fi

#
# Configure integer string conversion length limit in python
#
export PYTHONINTMAXSTRDIGITS=68000

0 comments on commit 669af4c

Please sign in to comment.