Skip to content

Commit

Permalink
ci: try ramdisk for zipapp job
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed Dec 26, 2024
1 parent c10dda5 commit 15cf9ad
Showing 1 changed file with 26 additions and 8 deletions.
34 changes: 26 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,15 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-13, macos-latest]
# os: [ubuntu-latest, macos-13, macos-latest]
os: [macos-latest]
python:
- "3.8"
- "3.9"
# - "3.8"
# - "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
# - "3.11"
# - "3.12"
# - "3.13"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -172,7 +173,7 @@ jobs:
matrix:
os: [Windows]
python:
- "3.8"
# - "3.8"
# Commented out, since Windows tests are expensively slow,
# only test the oldest and newest Python supported by pip
# - "3.9"
Expand All @@ -181,7 +182,7 @@ jobs:
# - "3.12"
- "3.13"
group:
- { number: 1, pytest-filter: "not test_install" }
# - { number: 1, pytest-filter: "not test_install" }
- { number: 2, pytest-filter: "test_install" }

steps:
Expand Down Expand Up @@ -226,7 +227,13 @@ jobs:
needs.determine-changes.outputs.tests == 'true' ||
github.event_name != 'pull_request'
env:
TEMP: /mnt/tmp
steps:
- name: Set up ramdisk for TEMP
run: |
sudo mkdir /mnt/tmp
sudo chmod 777 /mnt/tmp
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
Expand All @@ -248,6 +255,17 @@ jobs:
--durations=5
--use-zipapp
- run: rm .nox -rf
- name: Run integration tests
env:
TEMP: /tmp
run: >-
nox -s test-3.10 --
tests/functional
--verbose --numprocesses auto --showlocals
--durations=5
--use-zipapp
check: # This job does nothing and is only used for the branch protection
if: always()

Expand Down

0 comments on commit 15cf9ad

Please sign in to comment.