Skip to content

Commit

Permalink
Use github actions instead of travis
Browse files Browse the repository at this point in the history
  • Loading branch information
yeger00 committed Nov 23, 2023
1 parent fc6e645 commit d4cb7b2
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 16 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test Package
on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4

- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: install requirements
run: pip install -r requirements.txt

- name: install dev requirements
run: pip install -r requirements-dev.txt


- name: test
run: pytest
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
requirements-dev.txt
pytest==7,4,3

0 comments on commit d4cb7b2

Please sign in to comment.