Skip to content

Commit

Permalink
Added CI module
Browse files Browse the repository at this point in the history
  • Loading branch information
zhubonan committed Apr 27, 2023
1 parent 6655eeb commit 5fb7da4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,34 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3

- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}

- name: Install airss
shell: bash -el {0}
run: conda install -c conda-forge airss

- name: Install dependencies
shell: bash -el {0}
run: |
python -m pip install --upgrade pip
pip install ".[testing]"
- name: Test with pytest
shell: bash -el {0}
run: |
pytest
1 change: 0 additions & 1 deletion airsspy/build.py
Expand Up @@ -66,7 +66,6 @@ def generate(self, timeout=10, write_cell=None):
bc_proc.kill()
self.bc_out, self.bc_err = bc_proc.communicate()
raise BuildcellError
return None
else:
bc_proc.kill()

Expand Down

0 comments on commit 5fb7da4

Please sign in to comment.