Skip to content

Commit

Permalink
Merge pull request #9 from ColCarroll/ColCarroll-patch-1
Browse files Browse the repository at this point in the history
Create python-package.yml
  • Loading branch information
ColCarroll authored Nov 8, 2024
2 parents 5572480 + 5b19ab6 commit 2d0148f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Python package

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

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
bash scripts/test.sh
3 changes: 3 additions & 0 deletions strava_calendar/test_data.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
from strava_calendar.data import * # noqa:F403

def test_placeholder():
pass
3 changes: 3 additions & 0 deletions strava_calendar/test_plot.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
from strava_calendar.plot import * # noqa:F403

def test_placeholder():
pass
3 changes: 3 additions & 0 deletions strava_calendar/test_strava_calendar.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
from strava_calendar.strava_calendar import * # noqa:F403

def test_placeholder():
pass

0 comments on commit 2d0148f

Please sign in to comment.