Compare commits
3 Commits
fix/xep-00
...
ci/separat
| Author | SHA1 | Date | |
|---|---|---|---|
|
d4254db814
|
|||
|
31538580fb
|
|||
|
37ca2de308
|
14
.github/workflows/ci-code.yml
vendored
14
.github/workflows/ci-code.yml
vendored
@@ -29,10 +29,10 @@ jobs:
|
|||||||
name: Linux
|
name: Linux
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build
|
||||||
|
run: docker build -f Dockerfile.${{ matrix.flavor }} -t profanity .
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: docker run profanity ./ci-build.sh
|
||||||
docker build -f Dockerfile.${{ matrix.flavor }} -t profanity .
|
|
||||||
docker run profanity ./ci-build.sh
|
|
||||||
|
|
||||||
code-style:
|
code-style:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -107,7 +107,7 @@ jobs:
|
|||||||
name: Code Coverage
|
name: Code Coverage
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build and run coverage
|
- name: Build
|
||||||
run: |
|
run: docker build -f Dockerfile.arch -t profanity-cov .
|
||||||
docker build -f Dockerfile.arch -t profanity-cov .
|
- name: Run coverage
|
||||||
docker run profanity-cov ./ci-build.sh --coverage-only
|
run: docker run profanity-cov ./ci-build.sh --coverage-only
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
FROM archlinux
|
FROM archlinux:latest
|
||||||
|
|
||||||
ENV TERM=xterm
|
ENV TERM=xterm
|
||||||
ENV CC="ccache gcc"
|
ENV CC="ccache gcc"
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm
|
RUN pacman -Syyu --noconfirm
|
||||||
|
|
||||||
# reflector is optional - if it fails due to network issues, continue with default mirrorlist
|
# reflector is optional - if it fails due to network issues, continue with default mirrorlist
|
||||||
RUN pacman -S --needed --noconfirm reflector && \
|
RUN pacman -S --needed --noconfirm reflector && \
|
||||||
(reflector --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist || true)
|
(reflector --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist || true)
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ extract_test_count() {
|
|||||||
# and checks that the test framework reports the failure correctly
|
# and checks that the test framework reports the failure correctly
|
||||||
verify_test_failure_detection()
|
verify_test_failure_detection()
|
||||||
{
|
{
|
||||||
echo
|
|
||||||
echo "==> Verifying test failure detection..."
|
echo "==> Verifying test failure detection..."
|
||||||
|
|
||||||
# Create a simple failing test
|
# Create a simple failing test
|
||||||
|
|||||||
Reference in New Issue
Block a user