Compare commits
6 Commits
2f8235965e
..
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| d215e527ed | |||
| 340706c7e5 | |||
| ff502c3be8 | |||
| ad976c8074 | |||
| 91cca10a04 | |||
| dbd6e88de8 |
@@ -1,11 +1,15 @@
|
||||
name: Test Agent
|
||||
on: [push, workflow_dispatch]
|
||||
|
||||
concurrency:
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
test-agent-run:
|
||||
runs-on: arch-x86_64
|
||||
steps:
|
||||
- name: Fetch the repository
|
||||
run: git clone --branch ${{ gitea.ref_name }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
||||
run: git clone --revision ${{ gitea.sha }} --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}
|
||||
|
||||
- name: Build containers
|
||||
run: docker-compose -f docker-compose-test.yaml build
|
||||
|
||||
@@ -10,3 +10,7 @@ RUN pip install -r requirements.txt
|
||||
COPY src/ .
|
||||
# command to run on container start
|
||||
CMD ["python", "main.py"]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user