Skip to content

Commit 2a0a164

Browse files
Witte, Juliusjuwitte
authored andcommitted
ci: update ci
1 parent 2412ab1 commit 2a0a164

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,29 @@ name: main
22

33
on:
44
pull_request:
5+
push:
56
branches: [main]
67

78
jobs:
89
mac_win_test:
910
strategy:
1011
fail-fast: false
1112
matrix:
12-
python-version: ['3.11']
13+
python-version: ['3.13']
1314
os: [windows-latest, macos-latest]
1415
runs-on: ${{ matrix.os }}
1516
steps:
16-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1718
with:
1819
fetch-depth: 0
19-
- uses: actions/setup-python@v3
20+
- uses: actions/setup-python@v5
2021
with:
2122
python-version: ${{ matrix.python-version }}
2223
- name: install dependencies
2324
run: |
2425
python -m pip install --upgrade pip
26+
pip install -r configs/dev/requirements.test.txt
27+
pip install .
2528
pip install tox
2629
- name: tox test
2730
run: |
@@ -34,10 +37,10 @@ jobs:
3437
fail-fast: false
3538
runs-on: ubuntu-latest
3639
steps:
37-
- name: Set up Python 3.11
38-
uses: actions/setup-python@v3
40+
- name: Set up Python 3.13
41+
uses: actions/setup-python@v5
3942
with:
40-
python-version: '3.11'
43+
python-version: '3.13'
4144
- name: Install dependencies
4245
run: |
4346
sudo mkdir -p $CU_HOME && sudo chown runner -R $CU_HOME
@@ -46,7 +49,7 @@ jobs:
4649
echo "$CU_HOME/$PY_DIR/bin" >> $GITHUB_PATH
4750
echo "$CU_HOME/$PY_DIR/shims" >> $GITHUB_PATH
4851
- name: Checkout
49-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5053
with:
5154
fetch-depth: 0
5255
- name: lint and test

.github/workflows/mkdocs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
CU_HOME: /home/custom
2222
runs-on: ubuntu-latest
2323
steps:
24-
- name: Set up Python 3.11
25-
uses: actions/setup-python@v3
24+
- name: Set up Python 3.13
25+
uses: actions/setup-python@v5
2626
with:
27-
python-version: '3.11'
27+
python-version: '3.13'
2828
- name: Install dependencies
2929
run: |
3030
sudo mkdir -p $CU_HOME && sudo chown runner -R $CU_HOME
@@ -33,15 +33,15 @@ jobs:
3333
echo "$CU_HOME/$PY_DIR/bin" >> $GITHUB_PATH
3434
echo "$CU_HOME/$PY_DIR/shims" >> $GITHUB_PATH
3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
- name: Setup Pages
38-
uses: actions/configure-pages@v3
38+
uses: actions/configure-pages@v5
3939
- name: Create documentation html
4040
run: |
4141
make docs
4242
make runDocs
4343
- name: Upload artifact
44-
uses: actions/upload-pages-artifact@v1
44+
uses: actions/upload-pages-artifact@v3
4545
with:
4646
path: ./public
4747
deploy:
@@ -53,4 +53,4 @@ jobs:
5353
steps:
5454
- name: Deploy to GitHub Pages
5555
id: deployment
56-
uses: actions/deploy-pages@v2
56+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)