Skip to content

Commit

Permalink
Merge branch 'main' into renovate/ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix authored Sep 16, 2024
2 parents 544e6de + d0f1634 commit 6eeefe2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@ jobs:
- name: Create installation directory
run: mkdir $HOME/install
- name: Build and install
shell: bash -l {0}
shell: micromamba-shell {0}
run: source ./.github/workflows/macos_install.sh $HOME/install
- name: Add the bin directory to PATH
run: echo "$HOME/install/bin" >> $GITHUB_PATH
- name: Check installed version
if: ${{ !cancelled() }}
shell: bash -l {0}
shell: micromamba-shell {0}
run: source ./.github/workflows/print_versions.sh

- name: Run pytest with multiple workers in parallel
shell: bash -el {0}
shell: micromamba-shell {0}
run: |
export PYTHONPATH=$(grass --config python_path):$PYTHONPATH
export LD_LIBRARY_PATH=$(grass --config path)/lib:$LD_LIBRARY_PATH
Expand All @@ -78,7 +78,7 @@ jobs:
-ra . \
-m 'not needs_solo_run'
- name: Run pytest with a single worker (for tests marked with needs_solo_run)
shell: bash -el {0}
shell: micromamba-shell {0}
run: |
export PYTHONPATH=$(grass --config python_path):$PYTHONPATH
export LD_LIBRARY_PATH=$(grass --config path)/lib:$LD_LIBRARY_PATH
Expand All @@ -87,7 +87,7 @@ jobs:
-m 'needs_solo_run'
- name: Run gunittest tests
shell: bash -el {0}
shell: micromamba-shell {0}
run: |
grass --tmp-project XY --exec \
g.download.project url=${{ env.SampleData }} path=$HOME
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/osgeo4w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ jobs:

- name: Compile GRASS GIS
shell: msys2 {0}
run: .github/workflows/build_osgeo4w.sh
run: |
export CFLAGS="${CFLAGS} -pipe"
export CXXFLAGS="${CXXFLAGS} -pipe"
.github/workflows/build_osgeo4w.sh
- name: Print installed versions
if: always()
Expand Down
6 changes: 3 additions & 3 deletions lib/linkm/test/try.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ int main(int argc, char *argv[])
exit(0);
}

int add_link_rev(struct link *List, struct link *link)
void add_link_rev(struct link *List, struct link *link)
{
struct link *p;

Expand All @@ -70,7 +70,7 @@ int add_link_rev(struct link *List, struct link *link)
link->next = p;
}

int add_link(struct link *List, struct link *link)
void add_link(struct link *List, struct link *link)
{
struct link *p;

Expand All @@ -81,7 +81,7 @@ int add_link(struct link *List, struct link *link)
link->next = NULL;
}

int dumplist(struct link *List)
void dumplist(struct link *List)
{
struct link *p;

Expand Down
6 changes: 3 additions & 3 deletions lib/linkm/test/try2.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int main(int argc, char *argv[])
exit(0);
}

int add_link_rev(struct link *List, struct link *link)
void add_link_rev(struct link *List, struct link *link)
{
struct link *p;

Expand All @@ -72,7 +72,7 @@ int add_link_rev(struct link *List, struct link *link)
link->next = p;
}

int add_link(struct link *List, struct link *link)
void add_link(struct link *List, struct link *link)
{
struct link *p;

Expand All @@ -83,7 +83,7 @@ int add_link(struct link *List, struct link *link)
link->next = NULL;
}

int dumplist(struct link *List)
void dumplist(struct link *List)
{
struct link *p;

Expand Down

0 comments on commit 6eeefe2

Please sign in to comment.