Skip to content

Commit

Permalink
Add non-blocking CI testing capability (#1)
Browse files Browse the repository at this point in the history
Add CI capability to GitHub.

This PR adds non-blocking CI checks that run automatically on Pull Request opens, Pull Request synchronizes (commits to an open PR), and commits to the "main" branch.

Currently, there is 1 test configuration: python 3.9.
  • Loading branch information
triple3567 authored Dec 12, 2024
1 parent c285eef commit 9e93f85
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Fugu integration tests

on:
pull_request:
types:
- opened
- synchronize
branches:
- main
push:
branches:
- main
workflow_dispatch:

jobs:
python39:
defaults:
run:
shell: bash -l {0}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: install deps
run: |
pip install -e .
- name: Run tests with pytest
run: |
pytest
3 changes: 1 addition & 2 deletions fugu_conda_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ dependencies:
- coverage
- isort
- black
- pip

- pip

0 comments on commit 9e93f85

Please sign in to comment.