Skip to content

Commit 6b3577b

Browse files
committed
actions
1 parent b0615af commit 6b3577b

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

.github/workflows/java-ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Java CI
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
branches: [master]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
env:
12+
working-directory: "./Path Manipulation/Path Manipulation while File Upload/java"
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up JDK
19+
uses: actions/setup-java@v4
20+
with:
21+
distribution: 'temurin'
22+
java-version: '21'
23+
24+
- name: Build with Maven
25+
working-directory: ${{ env.working-directory }}
26+
run: mvn clean -B package --file pom.xml
27+
28+
# - name: Run tests
29+
# run: mvn test

.github/workflows/python-ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Python CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
env:
13+
working-directory: "./Path Manipulation/Path Manipulation while File Upload/python"
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.9'
23+
24+
- name: Install Dependencies
25+
working-directory: ${{ env.working-directory }}
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install .
29+
30+
# - name: Run tests
31+
# run: |
32+
# pytest

0 commit comments

Comments
 (0)