Skip to content

Commit

Permalink
Add dummy GH Action to activate Actions for the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
aweakley committed May 8, 2024
1 parent 214972b commit a58ee10
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
workflow_dispatch:
pull_request:

jobs:
python-unit:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
defaults:
run:
working-directory: .

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: '**/pyproject.toml'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Run unit tests
run: |
pytest
8 changes: 8 additions & 0 deletions .github/workflows/dummy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: dummy-github-action

on: [push]
jobs:
print-message:
runs-on: ubuntu-latest
steps:
- run: echo "Dummy Action to initialise Actions for the repository"

0 comments on commit a58ee10

Please sign in to comment.