Skip to content

Commit

Permalink
Format workflow yamls consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
triole committed Aug 5, 2023
1 parent 1618c61 commit e41f001
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
1 change: 1 addition & 0 deletions .github/workflows/render-readme.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Render README

on:
Expand Down
31 changes: 16 additions & 15 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Run tests

on:
Expand All @@ -10,22 +11,22 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip
cache-dependency-path: .github/workflows/requirements.txt
- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip
cache-dependency-path: .github/workflows/requirements.txt

- name: Install xmllint
run: |
sudo apt install --yes libxml2-utils
xmllint --version
- name: Install xmllint
run: |
sudo apt install --yes libxml2-utils
xmllint --version
- name: Install requirements
run: pip install -r .github/workflows/requirements.txt
- name: Install requirements
run: pip install -r .github/workflows/requirements.txt

- name: Run tests
run: pytest
- name: Run tests
run: pytest

0 comments on commit e41f001

Please sign in to comment.