Skip to content

Commit

Permalink
Removed setup.py and added a new package-testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hadware committed Mar 4, 2024
1 parent 3070448 commit 3dbdae2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 89 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will install the package, and try to run the package to check that the package install works fine

name: Tests

on:
push:
branches: [ '*' ]

jobs:
build:

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

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pygamma agreement
run: |
python -m pip install --upgrade pip
python -m pip install pygamma-agreement
- name: Test that CLI is running fine
run: |
pygamma-agreement -h
89 changes: 0 additions & 89 deletions setup.py

This file was deleted.

0 comments on commit 3dbdae2

Please sign in to comment.