-
Notifications
You must be signed in to change notification settings - Fork 46
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
8 changed files
with
36 additions
and
155 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 |
---|---|---|
|
@@ -27,43 +27,38 @@ jobs: | |
python-version: "3.11" | ||
- os: ubuntu-latest | ||
python-version: "3.12" | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: 🌍 Install conda environment from pydna_test_environment.yml | ||
uses: mamba-org/setup-micromamba@v1 | ||
- name: 🔩 Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
environment-file: pydna_test_environment.yml | ||
create-args: python=${{ matrix.python-version }} | ||
cache-downloads: true | ||
cache-environment: true | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: 🐍 micromamba info | ||
shell: bash -l {0} | ||
run: micromamba info | ||
- name: 🐍 Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
- name: 🐍 micromamba list | ||
shell: bash -l {0} | ||
run: micromamba list | ||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs.prefer-active-python: true | ||
|
||
- name: 🔩 Set version | ||
shell: bash -l {0} | ||
run: poetry dynamic-versioning | ||
- name: 🔩 list Poetry settings | ||
run: poetry config --list | ||
|
||
- name: 🔩 Install from source | ||
shell: bash -l {0} | ||
run: pip install --editable . --no-deps | ||
- name: 🔩 Install with Poetry | ||
run: poetry install --all-extras --with test | ||
|
||
- name: 🔎 python run_test.py | ||
shell: bash -l {0} | ||
run: python run_test.py | ||
- name: 🔎 poetry run python run_test.py | ||
run: poetry run python run_test.py | ||
|
||
- name: 🔼 Upload coverage to Codecov | ||
if: (matrix.codecov) | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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