Skip to content

Commit

Permalink
gh actions updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenhariri committed Jul 21, 2024
1 parent a7ec778 commit 9256472
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 9 deletions.
11 changes: 11 additions & 0 deletions .env.gh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
NAME=projectname
ENV_PATH_ROOT=~
PYTHON=/usr/bin/python3
DOCKER=/usr/bin/docker

USER=mh
SSH=false
PYPIU=mhariri
PYPIP=password

ROOT_IN=/hpc/
4 changes: 2 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
# https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4

# https://github.com/marketplace/actions/docker-login
- name: Docker Login
Expand All @@ -42,4 +42,4 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
make switch-env gh
make env
make check
make pia
6 changes: 3 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
# https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4
# https://github.com/marketplace/actions/setup-python
- name: Set up Python
uses: actions/[email protected]
Expand All @@ -24,6 +24,7 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}
run: |
make switch-env gh
make env
make check
make pkg-build
Expand Down

0 comments on commit 9256472

Please sign in to comment.