From c397a87e5686cfea10a50fddf065d0ed3cbdfcfb Mon Sep 17 00:00:00 2001 From: veghp Date: Mon, 27 Jan 2025 16:40:51 +0000 Subject: [PATCH] Update Github CI --- .github/workflows/build.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e3e7ba..c9f6f2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,6 @@ name: build -on: [push] +on: [push, workflow_dispatch] jobs: build: @@ -15,15 +15,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest pytest-cov coveralls + pip install pytest - name: Install run: | pip install -e . - name: Test with pytest run: | - python -m pytest --cov python_codon_tables --cov-report term-missing - - name: Coveralls - run: coveralls - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COVERALLS_SERVICE_NAME: github + cd python_codon_tables + python -m pytest