Compare commits
1 Commits
dev
..
2f8235965e
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f8235965e |
@@ -1,15 +1,11 @@
|
|||||||
name: Test Agent
|
name: Test Agent
|
||||||
on: [push, workflow_dispatch]
|
on: [push, workflow_dispatch]
|
||||||
|
|
||||||
concurrency:
|
|
||||||
cancel-in-progress: false
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-agent-run:
|
test-agent-run:
|
||||||
runs-on: arch-x86_64
|
runs-on: arch-x86_64
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch the repository
|
- name: Fetch the repository
|
||||||
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
run: git clone --branch ${{ gitea.ref_name }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
||||||
|
|
||||||
- name: Build containers
|
- name: Build containers
|
||||||
run: docker-compose -f docker-compose-test.yaml build
|
run: docker-compose -f docker-compose-test.yaml build
|
||||||
|
|||||||
+1
-5
@@ -9,8 +9,4 @@ RUN pip install -r requirements.txt
|
|||||||
# copy the content of the local src directory to the working directory
|
# copy the content of the local src directory to the working directory
|
||||||
COPY src/ .
|
COPY src/ .
|
||||||
# command to run on container start
|
# command to run on container start
|
||||||
CMD ["python", "main.py"]
|
CMD ["python", "main.py"]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user