Skip to content

Commit 1c401ef

Browse files
update ci
1 parent 6f5d8da commit 1c401ef

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/simple-ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
4+
push:
5+
branches: ['main']
6+
pull_request:
7+
branches: ['main']
88

99
jobs:
1010
linting:
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-python@v4
1818
with:
19-
python-version: '3.10'
19+
python-version: '3.10'
2020
#----------------------------------------------
2121
# load pip cache if cache exists
2222
#----------------------------------------------
@@ -30,17 +30,17 @@ jobs:
3030
#----------------------------------------------
3131
- run: python -m pip install black flake8 isort
3232
- run: |
33-
flake8 . --count --show-source --statistics
34-
black . --check
35-
isort .
33+
flake8 . --count --show-source --statistics
34+
black . --check
35+
isort .
3636
3737
test:
3838
needs: linting
3939
strategy:
4040
fail-fast: true
4141
matrix:
42-
os: [ "ubuntu-latest", "macos-latest" ]
43-
python-version: [ "3.10"]
42+
os: ['ubuntu-latest', 'macos-latest']
43+
python-version: ['3.11']
4444
runs-on: ${{ matrix.os }}
4545
steps:
4646
#----------------------------------------------
@@ -87,4 +87,4 @@ jobs:
8787
- name: Run tests
8888
run: |
8989
source .venv/bin/activate
90-
pytest tests/
90+
pytest tests/

0 commit comments

Comments
 (0)