Skip to content

Commit

Permalink
set up the step to run docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
hyihua committed Nov 19, 2023
1 parent fc528e5 commit f682233
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,5 @@ jobs:
- name: Build Docker Image
run: docker build -t civictechexchange-image .

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: Run Tests
run: |
python manage.py test
- name: Run Docker Container Python Test
run: docker run test-image python manager.py test

0 comments on commit f682233

Please sign in to comment.