Adding support to GFSK/GMSK modulation #4
Workflow file for this run
This file contains hidden or 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
| # | |
| # test.py | |
| # | |
| # Copyright The PyModulation Contributors. | |
| # | |
| # This file is part of PyModulation library. | |
| # | |
| # PyModulation library is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU Lesser General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # PyModulation library is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| # GNU Lesser General Public License for more details. | |
| # | |
| # You should have received a copy of the GNU Lesser General Public License | |
| # along with PyModulation library. If not, see <http://www.gnu.org/licenses/>. | |
| # | |
| # | |
| name: Unit tests | |
| on: | |
| push: | |
| branches: [dev] | |
| pull_request: | |
| branches: [main, dev] | |
| # 'workflow_dispatch' allows manual execution of this workflow under the repository's 'Actions' tab | |
| workflow_dispatch: | |
| jobs: | |
| unit-tests: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| - name: Install dependencies | |
| run: sudo apt install -y python3-pytest | |
| - name: Install PyModulation | |
| run: sudo python setup.py install | |
| - name: Execute the test | |
| run: pytest tests/ |