Skip to content

Commit

Permalink
Merge pull request #34 from RECETOX/ci_update
Browse files Browse the repository at this point in the history
updated ci pipelines
  • Loading branch information
hechth authored Jun 7, 2024
2 parents 1c48f80 + a61955d commit 2fd2d11
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/anaconda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create build environment
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: gc-meox-tms-build
auto-update-conda: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
Expand All @@ -20,7 +20,7 @@ jobs:
pip install build
python -m build --sdist --wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1.5
uses: pypa/gh-action-pypi-publish@release/v1.8
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
9 changes: 5 additions & 4 deletions .github/workflows/python-package-conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ jobs:
max-parallel: 5

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.10'
- name: Add conda to PATH
run: |
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda update conda
conda env update --file conda/environment-dev.yaml --name base
- name: Lint with flake8
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
python-version: ['3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Pull coverage report
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 2fd2d11

Please sign in to comment.