Skip to content

Commit 9cc6895

Browse files
DWeslFFY00
authored andcommitted
CI: Try to ensure Cygwin tests start in right place
There's a bunch of failures due to "git: not in repository" errors, so let's try to stay in a repository. Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 640c462 commit 9cc6895

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/tests-cygwin.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- '9'
2525

2626
steps:
27+
- name: Tell git to use proper newlines
28+
run: git config --global core.autocrlf input
29+
2730
- name: Checkout
2831
uses: actions/checkout@v2
2932

@@ -39,6 +42,8 @@ jobs:
3942
shell: bash.exe -eo pipefail -o igncr "{0}"
4043
env:
4144
PATH: "/bin:/usr/bin:/usr/local/bin:/usr/lib/lapack"
45+
TMP: "/tmp"
46+
TEMP: "/tmp"
4247
run: |
4348
/usr/bin/python -m pip install nox
4449
nox --version
@@ -47,7 +52,12 @@ jobs:
4752
shell: bash.exe -eo pipefail -o igncr "{0}"
4853
env:
4954
PATH: "/bin:/usr/bin:/usr/local/bin:/usr/lib/lapack"
50-
run: nox -s test-3.${{ matrix.python-minor }}
55+
CHERE_INVOKING: 1
56+
TMP: "/tmp"
57+
TEMP: "/tmp"
58+
run: |
59+
cd "${GITHUB_WORKSPACE}"
60+
nox -s test-3.${{ matrix.python-minor }}
5161
5262
- name: Send coverage report
5363
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy