Skip to content

Commit

Permalink
Merge pull request #16 from phac-nml/dev
Browse files Browse the repository at this point in the history
Merge dev into main (v2.0.0)
  • Loading branch information
emarinier authored Nov 5, 2024
2 parents 2aba1da + 7bb5bfc commit 408e034
Show file tree
Hide file tree
Showing 57 changed files with 640 additions and 2,797 deletions.
90 changes: 0 additions & 90 deletions .ci/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions .ci/run_flake8.sh

This file was deleted.

5 changes: 0 additions & 5 deletions .ci/run_tests.sh

This file was deleted.

52 changes: 0 additions & 52 deletions .ci/slurm.conf

This file was deleted.

6 changes: 0 additions & 6 deletions .ci/slurm.sh

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application

on: [push]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install BLAST+
run: |
sudo apt-get -qqy install ncbi-blast+
- name: Install Python and Dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest tox numpy scipy biopython
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
Loading

0 comments on commit 408e034

Please sign in to comment.