Skip to content

Commit 9e93f85

Browse files
authored
Add non-blocking CI testing capability (#1)
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.
1 parent c285eef commit 9e93f85

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/workflows/ci-test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Fugu integration tests
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
branches:
9+
- main
10+
push:
11+
branches:
12+
- main
13+
workflow_dispatch:
14+
15+
jobs:
16+
python39:
17+
defaults:
18+
run:
19+
shell: bash -l {0}
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up Python 3.9
25+
uses: actions/setup-python@v3
26+
with:
27+
python-version: '3.9'
28+
- name: install deps
29+
run: |
30+
pip install -e .
31+
- name: Run tests with pytest
32+
run: |
33+
pytest

fugu_conda_environment.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ dependencies:
2525
- coverage
2626
- isort
2727
- black
28-
- pip
29-
28+
- pip

0 commit comments

Comments
 (0)