Skip to content

Commit

Permalink
Add: GitHub workflow or ci
Browse files Browse the repository at this point in the history
  • Loading branch information
meherett committed Sep 7, 2023
1 parent 1fd65fe commit ee1b3e3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will install Swap package dependencies, run tests and lint with a variety of Python versions.

name: bip38-workflow

on:
push:
branches: [
master
]
pull_request:
branches: [
master
]

jobs:
python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [
"3.9", "3.10", "3.11"
]
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[tests,docs]
- name: Test with pytest
run: pytest

0 comments on commit ee1b3e3

Please sign in to comment.