Skip to content

Commit

Permalink
Install display server
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Nov 21, 2023
1 parent 4a8babc commit f29e206
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install display server
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: xvfb

- name: Install dependencies
run: pip install . hatch

- name: Export hexdoc resources
run: hexdoc ci export
run: xvfb-run --auto-servernum hexdoc ci export

- name: Upload package artifact
uses: actions/upload-artifact@v3
Expand All @@ -55,6 +60,11 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install display server
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: xvfb

- name: Run pre-commit hooks
env:
SKIP: pyright
Expand All @@ -64,7 +74,7 @@ jobs:
run: pip install nox

- name: Run Nox
run: nox
run: xvfb-run --auto-servernum nox

update-tags:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f29e206

Please sign in to comment.