-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing multiple versions in pipeline (#67)
* added test matrix * adding changelog entry * removing python 3.6 * removing python 3.7 * using container matrix * removing debian images * removing exclude * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * testing * updating docs * updating docs * updating docs * updating docs * wip: Updated compatibility table styling * wip: Updated compatibility table - changed not supported cell colour * Updated compatibility table content and formatting * Updated compatibility table formatting * Removed typo in compatibility table * Updated semi stable cell colour on compatibility table * Removed typo in compatibility table * adding more configs * fixing links * enabling tests * adding slack webhook back Co-authored-by: Alejandro Esquivel <[email protected]>
- Loading branch information
1 parent
9e5bcd5
commit de128fc
Showing
6 changed files
with
144 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,19 +28,35 @@ on: | |
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest'] | ||
container: | ||
- python:3.8-buster | ||
- python:3.8-bullseye | ||
- python:3.9-buster | ||
- python:3.9-bullseye | ||
- centos/python-38-centos7 | ||
experimental: [false] | ||
include: | ||
- os: macos-latest | ||
python-version: '3.8' | ||
experimental: false | ||
container: ${{ matrix.container }} | ||
continue-on-error: ${{ matrix.experimental }} | ||
steps: | ||
- name: Check out head | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
- name: Set up Python | ||
if: matrix.os == 'macos-latest' | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --no-cache-dir -r ./requirements.txt | ||
pip install --no-cache-dir -r ./tests/requirements.txt | ||
- name: Install Covalent | ||
|
@@ -52,25 +68,26 @@ jobs: | |
- name: Generate coverage report | ||
run: coverage xml | ||
- name: Upload report to Codecov | ||
if: matrix.os == 'ubuntu-latest' && matrix.container == 'python:3.8-buster' | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
files: ./coverage.xml | ||
- name: Push to master | ||
if: github.ref == 'refs/heads/develop' | ||
if: github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' && matrix.container == 'python:3.8-buster' | ||
run: | | ||
git config user.name "CovalentOpsBot" | ||
git config user.email "[email protected]" | ||
git remote set-url origin https://${{ secrets.COVALENT_OPS_BOT_TOKEN }}@github.com/AgnostiqHQ/covalent.git | ||
git fetch --unshallow | ||
git push origin HEAD:master | ||
- name: Format Slack message | ||
if: github.ref == 'refs/heads/develop' | ||
if: github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' && matrix.container == 'python:3.8-buster' | ||
run: | | ||
VERSION="$(cat ./VERSION)" | ||
SLACK_MSG=":rocket: Version $VERSION is now available." | ||
echo "SLACK_MSG=$SLACK_MSG" >> $GITHUB_ENV | ||
- name: Notify Slack | ||
if: github.ref == 'refs/heads/develop' | ||
if: github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' && matrix.container == 'python:3.8-buster' | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_CHANNEL: "covalent-ci" | ||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.24.3 | ||
0.24.4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
============= | ||
Compatibility | ||
============= | ||
|
||
While Covalent is primarily developed using Python 3.8 on MacOS and Linux, it has been tested in a variety of environments. The following table summarizes the compatibility of Covalent with various versions of Python and operating systems. | ||
|
||
.. raw:: html | ||
|
||
<table style="border-collapse: collapse; width: 100%; border: 1px solid black;"> | ||
<tr style="background-color: white;"> | ||
<th style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">OS Version</th> | ||
<th style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Python Version</th> | ||
<th style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Supported</th> | ||
<th style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Notes</th> | ||
</tr> | ||
<tr style="background-color: #f2f2f2;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">macOS 11 (Big Sur)</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.7</td> | ||
<td class="semi-stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: rgb(255 223 122);">SEMI-STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Source code inspection fails.</td> | ||
</tr> | ||
<tr style="background-color: white;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.8</td> | ||
<td class="stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #afddba;">STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: #f2f2f2;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.9</td> | ||
<td class="unknown" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #d6d8d9;">UNKNOWN</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">GitHub runner hangs.</td> | ||
</tr> | ||
<tr style="background-color: white;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Debian Buster / Ubuntu 18.04</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.6</td> | ||
<td class="not-supported" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #d98a91;">NOT SUPPORTED</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: #f2f2f2;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.7</td> | ||
<td class="semi-stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: rgb(255 223 122);">SEMI-STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Source code inspection fails.</td> | ||
</tr> | ||
<tr style="background-color: white;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.8</td> | ||
<td class="stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #afddba;">STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: #f2f2f2;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.9</td> | ||
<td class="stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #afddba;">STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: white;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.10</td> | ||
<td class="not-supported" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #d98a91;">NOT SUPPORTED</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Compatibility problems with eventlet.</td> | ||
</tr> | ||
<tr style="background-color: #f2f2f2;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Debian Bullseye / Ubuntu 20.04</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.7</td> | ||
<td class="semi-stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: rgb(255 223 122);">SEMI-STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Source code inspection fails.</td> | ||
</tr> | ||
<tr style="background-color: white;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.8</td> | ||
<td class="stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #afddba;">STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: #f2f2f2;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.9</td> | ||
<td class="stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #afddba;">STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: white;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">CentOS 7</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.6</td> | ||
<td class="not-supported" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #d98a91;">NOT SUPPORTED</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: #f2f2f2;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.8</td> | ||
<td class="stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #afddba;">STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: white;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">Gentoo</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.8</td> | ||
<td class="not-supported" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #afddba;">STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
<tr style="background-color: #f2f2f2;"> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;">3.9</td> | ||
<td class="stable" style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd; background-color: #afddba;">STABLE</td> | ||
<td style="padding: 15px; text-align: center; color: black; font-size: 12px; border: 1px solid #ddd;"></td> | ||
</tr> | ||
</table> | ||
|
||
|
||
Is your environment missing from this list? Help us expand it by reporting feedback on `GitHub <https://github.com/AgnostiqHQ/covalent/issues>`_. | ||
|
||
Return to :doc:`Getting Started <./index>`. |
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 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