Renaming of whole project from Ports to RosettaTest #114
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
| name: Python Suites | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.10" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| - name: Run SMTP Tests | |
| run: | | |
| python3 rosetta-test-py/smtp.py | |
| - name: Run Sendmail Tests for RedMail | |
| run: | | |
| pip install -r rosetta-test-py/sendmail-redmail.requirements.txt | |
| python3 rosetta-test-py/sendmail-redmail.py | |
| - name: Run Sendmail Tests for Python Emails | |
| run: | | |
| pip install -r rosetta-test-py/sendmail-python-emails.requirements.txt | |
| python3 rosetta-test-py/sendmail-python-emails.py | |
| - name: Run JSON RFC Tests | |
| run: | | |
| python3 rosetta-test-py/json-rfc.py |