Skip to content

test

test #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: fedora
runs-on: ubuntu-latest
steps:
- name: Setup Podman
run: |
sudo apt update
sudo apt-get -y install podman
podman pull fedora:38
- name: Get source
uses: actions/checkout@v3
- name: Create container and run tests
run: |
{
echo 'FROM fedora:38'
echo 'RUN dnf -y update'
echo 'RUN dnf -y install python3 koji copr-cli'
echo 'RUN cp config/copr.repo /etc/yum.repos.d/python313.repo'
echo 'RUN chmod +x ./action/run.sh'
echo 'RUN ./action/run.sh'
} > podmanfile
podman build --tag fedora38test -f ./podmanfile