-
Notifications
You must be signed in to change notification settings - Fork 2
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
romainsacchi
authored and
romainsacchi
committed
Aug 9, 2024
1 parent
f1267a2
commit fdfaafb
Showing
1 changed file
with
8 additions
and
28 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 |
---|---|---|
|
@@ -6,7 +6,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Black formatting | ||
uses: lgeiger/[email protected] | ||
|
@@ -31,27 +31,6 @@ jobs: | |
git checkout $GITHUB_HEAD_REF | ||
git commit -am "Black reformating" | ||
git push | ||
lint: | ||
runs-on: ubuntu-latest | ||
needs: clean | ||
steps: | ||
|
||
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
with: | ||
# Full git history is needed to get a proper list | ||
# of changed files within `super-linter` | ||
fetch-depth: 0 | ||
|
||
- name: Super-Linter | ||
uses: github/super-linter@v4 | ||
env: | ||
ERRORS: false | ||
VALIDATE_ALL_CODEBASE: true | ||
VALIDATE_PYTHON: true | ||
DEFAULT_BRANCH: master | ||
IGNORE_GITIGNORED_FILES: true | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}} | ||
build: | ||
runs-on: ${{matrix.os}} | ||
|
@@ -62,7 +41,7 @@ jobs: | |
needs: clean | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install python version | ||
uses: gabrielfalcao/pyenv-action@v13 | ||
|
@@ -95,7 +74,7 @@ jobs: | |
python-version: [ "3.10" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install pypa/build | ||
run: >- | ||
|
@@ -143,7 +122,6 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
channels: conda-forge,cmutel,konstantinstadler,haasad,pascallesage,romainsacchi | ||
allow-softlinks: true | ||
channel-priority: strict | ||
auto-update-conda: true | ||
activate-environment: test | ||
|
||
|
@@ -152,7 +130,7 @@ jobs: | |
run: conda info | ||
|
||
- name: Git checkout | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v4 | ||
- name: Branch name | ||
run: echo running on branch ${GITHUB_REF##*/} | ||
|
||
|
@@ -161,13 +139,15 @@ jobs: | |
shell: bash -l {0} | ||
|
||
run: | | ||
conda clean --all | ||
PKG_NAME=pathways | ||
USER=romainsacchi | ||
conda install anaconda-client | ||
conda install conda-build | ||
conda install conda-verify | ||
conda install pytest | ||
conda clean --all | ||
conda update conda | ||
mkdir ~/conda-bld | ||
conda config --set anaconda_upload no | ||
export CONDA_BLD_PATH=~/conda-bld | ||
|
@@ -187,8 +167,8 @@ jobs: | |
os: ["ubuntu-latest"] | ||
python-version: [ "3.10" ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
channels: conda-forge,cmutel,konstantinstadler,haasad,pascallesage,romainsacchi | ||
|