tmp - commenting some - this is causing bugwarrior issues #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: fedora | |
on: [push, pull_request] | |
jobs: | |
build-container-image: | |
runs-on: ubuntu-20.04 | |
name: build-container-image | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build the image | |
run: docker build -f Dockerfile.fedora -t fedora:local . | |
- name: Export the image | |
run: docker save -o fedora-local.tar fedora:local | |
- name: Upload the image | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ci-images | |
if-no-files-found: error | |
path: fedora-local.tar | |
retention-days: 1 | |
e2e: | |
strategy: | |
matrix: | |
include: | |
- name: e2e-all | |
script: docker run fedora:local all | |
- name: e2e-link | |
script: docker run fedora:local link | |
name: ${{ matrix.name }} | |
runs-on: ubuntu-latest | |
needs: [build-container-image] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download container images | |
uses: actions/download-artifact@v3 | |
with: | |
name: ci-images | |
- name: Load image | |
run: docker load --input fedora-local.tar | |
- name: Run test | |
run: ${{ matrix.script }} |