Skip to content

Commit

Permalink
First attempt at a GitHub Actions build for this python project. May …
Browse files Browse the repository at this point in the history
…take a few attempts, but getting started.

[#8]
  • Loading branch information
geoffreywiseman committed Mar 30, 2023
1 parent 9fab5c4 commit ee28235
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "CI"

on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11']
name: Build w/ Python ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix-python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
- name: Test

0 comments on commit ee28235

Please sign in to comment.