Skip to content

Commit

Permalink
✨ improve stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Guerteltier committed Jan 15, 2024
1 parent 3f3302b commit 86371c4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ jobs:
packages: write
steps:
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ~1.20
- name: Upgrade Buildah
Expand Down Expand Up @@ -310,6 +310,7 @@ jobs:
- name: Upload as build artifact
uses: actions/upload-artifact@v4
with:
name: oci-image
path: oci-archive.tar

test-running-oci-image:
Expand All @@ -321,7 +322,7 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: artifact
name: oci-image
- name: Run image
timeout-minutes: 1
run: sudo podman run --network=host -t oci-archive:oci-archive.tar -c
Expand All @@ -337,7 +338,7 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: artifact
name: oci-image
- name: Run tests
timeout-minutes: 20
run: sudo podman run --network=host -t -v ./pip-constraints.txt:/pip-constraints.txt:z,ro -v ./tests:/tests:z,ro --entrypoint=/bin/sh oci-archive:oci-archive.tar -c "grep -P '^pytest-(?!cov)' /pip-constraints.txt | xargs /venv/bin/pip install --disable-pip-version-check -c /pip-constraints.txt html5lib pytest time-machine && /venv/bin/pytest --verbose /tests"
Expand All @@ -352,7 +353,7 @@ jobs:
packages: write
steps:
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ~1.20
- name: Upgrade Skopeo
Expand All @@ -368,7 +369,7 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: artifact
name: oci-image
- name: Log in to ghcr.io
uses: redhat-actions/podman-login@v1
with:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ jobs:
packages: write
steps:
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ~1.20
- name: Upgrade Buildah
Expand Down Expand Up @@ -393,6 +393,7 @@ jobs:
- name: Upload as build artifact
uses: actions/upload-artifact@v4
with:
name: oci-image
path: oci-archive.tar

test-running-oci-image:
Expand All @@ -404,7 +405,7 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: artifact
name: oci-image
- name: Run image
timeout-minutes: 1
run: sudo podman run --network=host -t oci-archive:oci-archive.tar -c
Expand All @@ -420,7 +421,7 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: artifact
name: oci-image
- name: Run tests
timeout-minutes: 20
run: sudo podman run --network=host -t -v ./pip-constraints.txt:/pip-constraints.txt:z,ro -v ./tests:/tests:z,ro --entrypoint=/bin/sh oci-archive:oci-archive.tar -c "grep -P '^pytest-(?!cov)' /pip-constraints.txt | xargs /venv/bin/pip install --disable-pip-version-check -c /pip-constraints.txt html5lib pytest time-machine && /venv/bin/pytest --verbose /tests"
Expand All @@ -435,7 +436,7 @@ jobs:
packages: write
steps:
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ~1.20
- name: Upgrade Skopeo
Expand All @@ -451,7 +452,7 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: artifact
name: oci-image
- name: Version
id: version
shell: python
Expand Down
1 change: 0 additions & 1 deletion an_website/templates/pages/swapped_words.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
Björn Höcke => Bernd Höcke"
rows="10"
maxlength="{{MAX_CHAR_COUNT}}"
class="mono-font"
spellcheck="true">{{config}}
</textarea>
</label>
Expand Down

0 comments on commit 86371c4

Please sign in to comment.