Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
befeleme committed Nov 6, 2023
1 parent b0e84bb commit 683f684
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,19 @@ jobs:
test:
name: fedora
runs-on: ubuntu-latest

container:
image: fedora: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
uses: actions/checkout@v4
- name: Install dependencies
run: |
dnf -y install koji copr-cli
- name: Set up Copr repo
run: |
cp ./config/copr.repo /etc/yum.repos.d/python313.repo
- name: Run repoquery
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
chmod +x ./action/run.sh
./action/run.sh
2 changes: 2 additions & 0 deletions action/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#! /bin/bash

repoquery --repo=python313 --source --whatrequires 'libpython3.13.so.1.0()(64bit)' --whatrequires 'python(abi) = 3.13' --whatrequires 'python3.13dist(*)' | pkgname | env LANG=en_US.utf-8 sort | uniq > python313.pkgs

wc -l python313.pkgs

0 comments on commit 683f684

Please sign in to comment.