Skip to content

Commit

Permalink
ci: improve python setup in nightly workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgb committed Jan 25, 2025
1 parent b392146 commit 1fab92a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,12 @@ jobs:
run: |
echo ${{ env.URL }}
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install pytest_dotenv
pip install pytest-reporter-html1
- name: Install pre-commit
run: |
pip install pre-commit
python-version: "3.12"
cache: "pip"
- run: pip install -r requirements.txt

- name: Install flux
run: |
Expand All @@ -77,10 +69,6 @@ jobs:
which kind
kind version
- name: Install playwright
run: |
pip install pytest-playwright
- name: Install chromium
run: |
playwright install chromium
Expand Down
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
flake8==7.1.1
pre_commit==4.1.0
pytest==8.3.4
pytest-dotenv==0.5.2
pytest-playwright==0.6.2
pytest-reporter-html1==0.9.2

0 comments on commit 1fab92a

Please sign in to comment.