Module test #2843
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
| name: Module test | |
| on: | |
| schedule: | |
| - cron: '0 7,17 * * *' | |
| workflow_dispatch: | |
| workflow_run: | |
| workflows: ["Upload Python Package"] | |
| branches: [master] | |
| types: | |
| - completed | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run tests | |
| run: | | |
| cd ./tests/test_module | |
| pip install -r requirements.txt | |
| pytest -v test.py | |
| env: | |
| NCORE_USERNAME: ${{ secrets.NCORE_USER }} | |
| NCORE_PASSWORD: ${{ secrets.NCORE_PASS }} | |
| RSS_URL: ${{ secrets.RSS_URL }} |