Skip to content

Fix tests when running as root #18

Fix tests when running as root

Fix tests when running as root #18

Workflow file for this run

name: Testing
on:
push:
branches: ["*"]
paths-ignore:
- 'docs/**'
- '*.md'
tags-ignore: ["*"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.12"
container:
image: python:${{ matrix.python }}-alpine
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Setup environment
run: apk --update add gcc libpq make musl-dev linux-headers alpine-conf
- name: Setup and run Tests
run: ci/test.sh
- name: Upload Coverage
uses: codecov/codecov-action@v1.0.2
if: github.event_name == 'push' && github.repository == 'gmr/rejected'
with:
token: ${{secrets.CODECOV_TOKEN}}
file: build/coverage.xml
flags: unittests