This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
179 additions
and
930 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 |
---|---|---|
@@ -1,39 +1,35 @@ | ||
--- | ||
|
||
name: Demultiplexing CI | ||
|
||
"on": ["push", "pull_request"] | ||
|
||
jobs: | ||
|
||
tests-coverage: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
# Check out Demultiplexing code | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Set up poetry | ||
uses: abatilo/actions-poetry@v2.0.0 | ||
with: | ||
poetry-version: 1.1.4 | ||
|
||
- name: Demultiplexing dependencies | ||
run: | | ||
poetry install | ||
- name: Test with pytest & Coveralls | ||
run: | | ||
poetry run pytest --cov=demux/ | ||
poetry run coveralls | ||
bash tests/test.bash | ||
env: | ||
GITHUB: 1 | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
tests-coverage: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Check out Demultiplexing code | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Set up poetry | ||
uses: abatilo/actions-poetry@v2.0.0 | ||
with: | ||
poetry-version: 1.3.1 | ||
|
||
- name: Demultiplexing dependencies | ||
run: | | ||
poetry install | ||
- name: Test with pytest & Coveralls | ||
run: | | ||
poetry run pytest --cov=demux/ | ||
poetry run coveralls | ||
bash tests/test.bash | ||
env: | ||
GITHUB: 1 | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |
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,47 +1,38 @@ | ||
--- | ||
|
||
name: Demultiplex installation tests | ||
|
||
"on": ["pull_request"] | ||
|
||
jobs: | ||
|
||
installations: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7] | ||
|
||
steps: | ||
|
||
- name: Check out git repository | ||
uses: actions/checkout@v2 | ||
|
||
# Set up python | ||
- name: Set up Python ${{ matrix.python-version}} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version}} | ||
|
||
- name: Install pip | ||
# Make sure that we have correct python version and pip version | ||
# For details see .github/workflows/server_info.md | ||
run: | | ||
if [ "$PYTHON_VERSION" = "$OLD_VERSION" ]; then | ||
python -m pip install --upgrade pip==9.0.1 | ||
else | ||
python -m pip install --upgrade pip==18.1 | ||
fi | ||
echo $PYTHON_VERSION | ||
pip --version | ||
env: | ||
PYTHON_VERSION: ${{ matrix.python-version}} | ||
OLD_VERSION: 3.6 | ||
|
||
- name: Production Dependencies | ||
run: | | ||
pip install micropipenv[toml] | ||
micropipenv requirements --method poetry > requirements.txt | ||
pip install -r requirements.txt | ||
pip check | ||
installations: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.7] | ||
|
||
steps: | ||
- name: Check out git repository | ||
uses: actions/checkout@v2 | ||
|
||
# Set up python | ||
- name: Set up Python ${{matrix.python-version}} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{matrix.python-version}} | ||
|
||
- name: Install pip | ||
# Make sure that we have correct python version and pip version | ||
# For details see .github/workflows/server_info.md | ||
run: | | ||
python -m pip install --upgrade pip==18.1 | ||
echo $PYTHON_VERSION | ||
pip --version | ||
env: | ||
PYTHON_VERSION: ${{matrix.python-version}} | ||
|
||
- name: Production Dependencies | ||
run: | | ||
pip install micropipenv[toml] | ||
micropipenv requirements --method poetry > requirements.txt | ||
pip install -r requirements.txt | ||
pip check |
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ DEVELOP/ | |
.idea/ | ||
.vscode | ||
.venv | ||
venv | ||
|
||
# Distribution / packaging | ||
*.egg-info/ | ||
|
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
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
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
Oops, something went wrong.