File tree Expand file tree Collapse file tree 7 files changed +67
-789
lines changed Expand file tree Collapse file tree 7 files changed +67
-789
lines changed Original file line number Diff line number Diff line change @@ -20,22 +20,12 @@ jobs:
20
20
21
21
- name : Upgrade pip
22
22
run : |
23
- python -m pip install --upgrade pip
24
- python -m pip install --upgrade setuptools
23
+ python -m pip install --upgrade pip
25
24
26
- - name : Install Poetry
25
+ - name : Install dev dependencies
27
26
run : |
28
- curl -sSL https://install.python-poetry.org | python3 -
29
-
30
- - name : Add Poetry to PATH
31
- run : |
32
- echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
33
-
34
- - name : Install dependencies
35
- run : |
36
- poetry config virtualenvs.in-project true
37
- poetry install
27
+ pip install -r requirements.dev.txt
38
28
39
29
- name : Run tests
40
30
run : |
41
- poetry run invoke check
31
+ invoke check
Original file line number Diff line number Diff line change @@ -22,19 +22,10 @@ jobs:
22
22
run : |
23
23
python -m pip install --upgrade pip
24
24
25
- - name : Install Poetry
25
+ - name : Install dev dependencies
26
26
run : |
27
- curl -sSL https://install.python-poetry.org | python3 -
28
-
29
- - name : Add Poetry to PATH
30
- run : |
31
- echo "PATH=$PATH:~/.local/bin" >> $GITHUB_ENV
32
-
33
- - name : Install dependencies
34
- run : |
35
- poetry config virtualenvs.in-project true
36
- poetry install
27
+ pip install -r requirements.dev.txt
37
28
38
29
- name : Run tests
39
30
run : |
40
- poetry run invoke check
31
+ invoke check
Original file line number Diff line number Diff line change 1
1
name : " FileCheck.py on Windows"
2
2
3
- # Disabling building on Windows for now.
4
3
on :
5
4
push :
6
5
branches : [ "nonsense-branch" ]
7
- # pull_request:
8
- # branches: [ "**" ]
6
+ pull_request :
7
+ branches : [ "**" ]
9
8
10
9
jobs :
11
10
build :
@@ -32,35 +31,13 @@ jobs:
32
31
33
32
- name : Upgrade pip
34
33
run : |
35
- python -m pip install --upgrade pip
34
+ python -m pip install --upgrade pip
36
35
37
- - name : Install Poetry
36
+ - name : Install dev dependencies
38
37
run : |
39
- (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
40
-
41
- - name : " Poetry: add to %PATH%"
42
- run : |
43
- # Either of these should work.
44
- echo "$env:APPDATA\pypoetry" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
45
- echo "$env:APPDATA\Python\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
46
-
47
- - name : " Poetry: print version"
48
- run : |
49
- poetry --version
50
-
51
- - name : " Poetry: configure settings"
52
- run : |
53
- # https://github.com/python-poetry/poetry/issues/6098
54
- poetry config virtualenvs.create true
55
- poetry config virtualenvs.in-project true
56
- poetry config virtualenvs.prefer-active-python
57
-
58
- - name : " Poetry: Install dependencies"
59
- run : |
60
- poetry run python --version
61
- poetry install
38
+ pip install -r requirements.dev.txt
62
39
63
40
- name : Run tests
64
41
run : |
65
- poetry run invoke check
42
+ invoke check
66
43
shell : bash
Original file line number Diff line number Diff line change 1
- 3.6.2
1
+ 3.7.15
2
2
You can’t perform that action at this time.
0 commit comments