Removed setup.py and added a new package-testing workflow #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |