Skip to content

Commit

Permalink
minor fixes to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrSheldon committed Sep 3, 2024
1 parent b8e9c60 commit 32f7060
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -20,13 +20,13 @@ jobs:
run: |
# Install tira from the repository since the pip version may not be up-to-date enough.
# The install musst be editable (-e) since importing from tira fails otherwise
pip3 install -e .[dev,test]
pip3 install .[dev,test]
- name: Install dependencies
working-directory: ${{github.workspace}}/application
run: |
# Create a dummy DISRAPTOR_API_KEY
sudo bash -c 'mkdir -p "/etc/discourse/" && echo "I am so secret" > "/etc/discourse/client-api-key"'
pip3 install -e .[dev,test]
pip3 install .[dev,test]
make setup
- name: Run backend tests
working-directory: ${{github.workspace}}/application/test
Expand Down
1 change: 1 addition & 0 deletions application/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ python3 manage.py collectstatic
chmod +x ./src/tira_app/endpoints/aha

# Run tests
make setup
cd test
pytest
EOF
Expand Down

0 comments on commit 32f7060

Please sign in to comment.